HatchitResource
|
Public Member Functions | |
ShaderVariableTemplate (T t) | |
void | SetData (T t) |
template<> | |
void HT_API | SetData (int data) |
template<> | |
HT_API | ShaderVariableTemplate (int data) |
template<> | |
void HT_API | SetData (float data) |
template<> | |
HT_API | ShaderVariableTemplate (float data) |
template<> | |
void HT_API | SetData (double data) |
template<> | |
HT_API | ShaderVariableTemplate (double data) |
template<> | |
void HT_API | SetData (Math::Vector2 data) |
template<> | |
HT_API | ShaderVariableTemplate (Math::Vector2 data) |
template<> | |
void HT_API | SetData (Math::Vector3 data) |
template<> | |
HT_API | ShaderVariableTemplate (Math::Vector3 data) |
template<> | |
void HT_API | SetData (Math::Vector4 data) |
template<> | |
HT_API | ShaderVariableTemplate (Math::Vector4 data) |
template<> | |
void HT_API | SetData (Math::Matrix4 data) |
template<> | |
HT_API | ShaderVariableTemplate (Math::Matrix4 data) |
![]() | |
Type | GetType () |
void * | GetData () |
Additional Inherited Members | |
![]() | |
enum | Type { INT, FLOAT, DOUBLE, FLOAT2, FLOAT3, FLOAT4, MAT4 } |
![]() | |
static ShaderVariable::Type | TypeFromString (const std::string &str) |
static size_t | SizeFromType (ShaderVariable::Type type) |
![]() | |
Type | m_type |
BYTE * | m_data = nullptr |