#include <shadervariabledeclarations.h>
Public Member Functions | |
ShaderVariableValueArrayDeclaration (const std::string &name, int offset, int size, int stride, EShaderVariableValueType elementType, int numElements) | |
![]() | |
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 | |
EShaderVariableValueType | mElementType |
Shader variable type. More... | |
int | mNumElements |
Total number of elements in list. More... | |
int | mStride |
Stride of element in array. More... | |
![]() | |
std::string | mName |
Name of the declaration. More... | |
int | mOffset |
Memory offset. More... | |
int | mSize |
Total size (in bytes) of declaration. More... | |
List of ShaderVariable value shader declarations.
ShaderVariableValueArrayDeclaration | ( | const std::string & | name, |
int | offset, | ||
int | size, | ||
int | stride, | ||
EShaderVariableValueType | elementType, | ||
int | numElements | ||
) |
EShaderVariableValueType mElementType |
Shader variable type.
int mNumElements |
Total number of elements in list.
int mStride |
Stride of element in array.