Public Types | |
enum | ParameterObjType { PT_INT, PT_FLOAT, PT_INT2, PT_FLOAT2, PT_INT3, PT_FLOAT3, PT_INT4, PT_FLOAT4, PT_MAT2, PT_MAT3, PT_MAT4 } |
Public Member Functions | |
ShaderObj (void) | |
ShaderObj (std::string name, int type, float *value) | |
~ShaderObj (void) |
Public Attributes | |
unsigned int | m_id |
int | m_type |
float * | m_value |
std::string | m_var |
ShaderObj::ShaderObj | ( | void | ) |
Standardconstructor
ShaderObj::ShaderObj | ( | std::string | name, |
int | type, | ||
float * | value | ||
) |
Constructor
name | ... name in shader |
value | ... value |
ShaderObj::~ShaderObj | ( | void | ) |
Standarddeconstructor