NAP
Public Member Functions | Public Attributes | List of all members
ShaderVariableValueArrayDeclaration Class Reference

#include <shadervariabledeclarations.h>

Public Member Functions

 ShaderVariableValueArrayDeclaration (const std::string &name, int offset, int size, int stride, EShaderVariableValueType elementType, int numElements)
 
- Public Member Functions inherited from ShaderVariableDeclaration
 ShaderVariableDeclaration (const std::string &name, int offset, int size)
 
virtual ~ShaderVariableDeclaration ()
 
 ShaderVariableDeclaration (ShaderVariableDeclaration &&inRHS)=default
 
ShaderVariableDeclarationoperator= (ShaderVariableDeclaration &&inRHS)=default
 
 ShaderVariableDeclaration (const ShaderVariableDeclaration &)=delete
 
ShaderVariableDeclarationoperator= (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...
 
- 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...
 

Description

List of ShaderVariable value shader declarations.

Inheritance diagram for ShaderVariableValueArrayDeclaration:
[legend]
Collaboration diagram for ShaderVariableValueArrayDeclaration:
[legend]

Constructor & Destructor Documentation

◆ ShaderVariableValueArrayDeclaration()

ShaderVariableValueArrayDeclaration ( const std::string &  name,
int  offset,
int  size,
int  stride,
EShaderVariableValueType  elementType,
int  numElements 
)

Member Data Documentation

◆ mElementType

Shader variable type.

◆ mNumElements

int mNumElements

Total number of elements in list.

◆ mStride

int mStride

Stride of element in array.