Nameless Engine
Loading...
Searching...
No Matches
ne::GlslShaderTextureResourceBinding::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 a specific push constant.

Constructor & Destructor Documentation

◆ PushConstantIndices() [1/3]

ne::GlslShaderTextureResourceBinding::PushConstantIndices::PushConstantIndices ( )
default

Creates uninitialized object.

◆ PushConstantIndices() [2/3]

ne::GlslShaderTextureResourceBinding::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::GlslShaderTextureResourceBinding::PushConstantIndices::PushConstantIndices ( PushConstantIndices &&  )
default

Move constructor.

Member Function Documentation

◆ operator=()

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

Move assignment operator.

Returns
this

Member Data Documentation

◆ iPushConstantIndex

size_t ne::GlslShaderTextureResourceBinding::PushConstantIndices::iPushConstantIndex = 0

Index of the push constant to copy pShaderArrayIndex.

◆ pShaderArrayIndex

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

Index into shader array to copy to shaders.


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