CustomShaderBindingData
Engine/source/materials/customShaderBindingData.h
Public Types
enum
UniformType { Float = 0 Float2 Float3 Float4 Texture2D Texture3D Cubemap Matrix2x2 Matrix2x3 Matrix2x4 Matrix3x2 Matrix3x3 Matrix3x4 Matrix4x2 Matrix4x3 Matrix4x4 }
Private Attributes
Public Functions
setFloat(StringTableEntry shaderConstName, F32 f)
setFloat2(StringTableEntry shaderConstName, Point2F f)
setFloat3(StringTableEntry shaderConstName, Point3F f)
setFloat4(StringTableEntry shaderConstName, Point4F f)
setTexture2D(StringTableEntry shaderConstName, GFXTexHandle f)
Detailed Description
Public Types
UniformType
Enumerator
- Float = 0
- Float2
- Float3
- Float4
- Texture2D
- Texture3D
- Cubemap
- Matrix2x2
- Matrix2x3
- Matrix2x4
- Matrix3x2
- Matrix3x3
- Matrix3x4
- Matrix4x2
- Matrix4x3
- Matrix4x4
Private Attributes
F32 mFloat
Point2F mFloat2
Point3F mFloat3
Point4F mFloat4
GFXSamplerStateDesc samplerState
StringTableEntry targetedUniformName
GFXTexHandle texture
UniformType type
Public Functions
getFloat()
getFloat2()
getFloat3()
getFloat4()
getHandleName()
getTexture2D()
getType()
setFloat(StringTableEntry shaderConstName, F32 f)
setFloat2(StringTableEntry shaderConstName, Point2F f)
setFloat3(StringTableEntry shaderConstName, Point3F f)
setFloat4(StringTableEntry shaderConstName, Point4F f)
setTexture2D(StringTableEntry shaderConstName, GFXTexHandle f)