Public Member Functions | Public Attributes | List of all members
ShaderVariableDeclaration Class Reference

#include <shadervariabledeclarations.h>

Public Member Functions

 ShaderVariableDeclaration (const std::string &name, int offset, int size)
virtual ~ShaderVariableDeclaration ()

Public Attributes

std::string mName
 Name of the declaration. More...
int mOffset
 Memory offset. More...
int mSize
 Total size (in bytes) of declaration. More...


Shader variable shader declaration base class.

Inheritance diagram for ShaderVariableDeclaration:

Constructor & Destructor Documentation

◆ ShaderVariableDeclaration()

ShaderVariableDeclaration ( const std::string &  name,
int  offset,
int  size 

◆ ~ShaderVariableDeclaration()

virtual ~ShaderVariableDeclaration ( )

Member Data Documentation

◆ mName

std::string mName

Name of the declaration.

◆ mOffset

int mOffset

Memory offset.

◆ mSize

int mSize

Total size (in bytes) of declaration.