Nameless Engine
Loading...
Searching...
No Matches
ne::GlslShaderTextureResource::PushConstantIndices Struct Reference

Public Member Functions

 PushConstantIndices ()=default
 
 PushConstantIndices (size_t iPushConstantIndex, std::unique_ptr< ShaderArrayIndex > pShaderArrayIndex)
 
 PushConstantIndices (PushConstantIndices &&)=default
 
PushConstantIndicesoperator= (PushConstantIndices &&)=default
 

Public Attributes

size_t iPushConstantIndex = 0
 
std::unique_ptr< ShaderArrayIndexpShaderArrayIndex
 

Detailed Description

Groups information about specific push constant.

Constructor & Destructor Documentation

◆ PushConstantIndices() [1/3]

ne::GlslShaderTextureResource::PushConstantIndices::PushConstantIndices ( )
default

Creates uninitialized object.

◆ PushConstantIndices() [2/3]

ne::GlslShaderTextureResource::PushConstantIndices::PushConstantIndices ( size_t  iPushConstantIndex,
std::unique_ptr< ShaderArrayIndex pShaderArrayIndex 
)
inline

Initializes object.

Parameters
iPushConstantIndexIndex of the push constant to copy pShaderArrayIndex.
pShaderArrayIndexIndex into shader array to copy to shaders.

◆ PushConstantIndices() [3/3]

ne::GlslShaderTextureResource::PushConstantIndices::PushConstantIndices ( PushConstantIndices &&  )
default

Move constructor.

Member Function Documentation

◆ operator=()

PushConstantIndices & ne::GlslShaderTextureResource::PushConstantIndices::operator= ( PushConstantIndices &&  )
default

Move assignment operator.

Returns
this

Member Data Documentation

◆ iPushConstantIndex

size_t ne::GlslShaderTextureResource::PushConstantIndices::iPushConstantIndex = 0

Index of the push constant to copy pShaderArrayIndex.

◆ pShaderArrayIndex

std::unique_ptr<ShaderArrayIndex> ne::GlslShaderTextureResource::PushConstantIndices::pShaderArrayIndex

Index into shader array to copy to shaders.


The documentation for this struct was generated from the following file: