#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) |
| const ShaderVariableDeclaration * | findMember (const std::string &name) const |
Public Member Functions inherited from ShaderVariableDeclaration | |
| ShaderVariableDeclaration (const std::string &name, int offset, int size) | |
| virtual | ~ShaderVariableDeclaration () |
| ShaderVariableDeclaration (ShaderVariableDeclaration &&inRHS)=default | |
| ShaderVariableDeclaration & | operator= (ShaderVariableDeclaration &&inRHS)=default |
| ShaderVariableDeclaration (const ShaderVariableDeclaration &)=delete | |
| ShaderVariableDeclaration & | operator= (const ShaderVariableDeclaration &)=delete |
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... | |
Public Attributes inherited from ShaderVariableDeclaration | |
| 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 |
| const ShaderVariableDeclaration* findMember | ( | const std::string & | name | ) | const |
| name | name of the declaration to find |
| 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.