HatchitResource
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Hatchit::Resource::ShaderVariable Class Reference
Inheritance diagram for Hatchit::Resource::ShaderVariable:
Hatchit::Resource::ShaderVariableTemplate< T >

Public Types

enum  Type {
  INT, FLOAT, DOUBLE, FLOAT2,
  FLOAT3, FLOAT4, MAT4
}
 

Public Member Functions

Type GetType ()
 
void * GetData ()
 

Static Public Member Functions

static ShaderVariable::Type TypeFromString (const std::string &str)
 
static size_t SizeFromType (ShaderVariable::Type type)
 

Protected Attributes

Type m_type
 
BYTE * m_data = nullptr
 

The documentation for this class was generated from the following file: