#include <shadervariabledeclarations.h>
Public Member Functions | |
ShaderVariableStructDeclaration (const std::string &name, EDescriptorType descriptorType, int offset, int size) | |
virtual | ~ShaderVariableStructDeclaration () override |
ShaderVariableStructDeclaration (ShaderVariableStructDeclaration &&inRHS) | |
ShaderVariableStructDeclaration & | operator= (ShaderVariableStructDeclaration &&inRHS) |
ShaderVariableStructDeclaration (const ShaderVariableStructDeclaration &)=delete | |
ShaderVariableStructDeclaration & | operator= (const ShaderVariableStructDeclaration &)=delete |
const ShaderVariableDeclaration * | findMember (const std::string &name) const |
![]() | |
ShaderVariableDeclaration (const std::string &name, int offset, int size) | |
virtual | ~ShaderVariableDeclaration () |
Public Attributes | |
std::vector< std::unique_ptr< ShaderVariableDeclaration > > | mMembers |
All shader declarations associated with struct. More... | |
EDescriptorType | mDescriptorType |
The type of descriptor for this resource. More... | |
![]() | |
std::string | mName |
Name of the declaration. More... | |
int | mOffset |
Memory offset. More... | |
int | mSize |
Total size (in bytes) of declaration. More... | |
Shader variable struct shader declaration.
ShaderVariableStructDeclaration | ( | const std::string & | name, |
EDescriptorType | descriptorType, | ||
int | offset, | ||
int | size | ||
) |
|
overridevirtual |
|
delete |
const ShaderVariableDeclaration* findMember | ( | const std::string & | name | ) | const |
name | name of the declaration to find |
|
delete |
ShaderVariableStructDeclaration& operator= | ( | ShaderVariableStructDeclaration && | inRHS | ) |
EDescriptorType mDescriptorType |
The type of descriptor for this resource.
std::vector<std::unique_ptr<ShaderVariableDeclaration> > mMembers |
All shader declarations associated with struct.