|
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) |
Public Member Functions inherited from Hatchit::Resource::ShaderVariable | |
| Type | GetType () |
| void * | GetData () |
Additional Inherited Members | |
Public Types inherited from Hatchit::Resource::ShaderVariable | |
| enum | Type { INT, FLOAT, DOUBLE, FLOAT2, FLOAT3, FLOAT4, MAT4 } |
Static Public Member Functions inherited from Hatchit::Resource::ShaderVariable | |
| static ShaderVariable::Type | TypeFromString (const std::string &str) |
| static size_t | SizeFromType (ShaderVariable::Type type) |
Protected Attributes inherited from Hatchit::Resource::ShaderVariable | |
| Type | m_type |
| BYTE * | m_data = nullptr |
1.8.11