ShaderMaterialParameters
Engine/source/materials/shaderMaterialParameters.h
Private Attributes
Public Functions
getAlignmentValue(const GFXShaderConstType constType)
Returns the alignment value for the constType in bytes.
set(MaterialParameterHandle * handle, const AlignedArray< F32 > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< Point2F > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< Point2I > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< Point3F > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< Point3I > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< Point4F > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< Point4I > & fv)
set(MaterialParameterHandle * handle, const AlignedArray< S32 > & fv)
set(MaterialParameterHandle * handle, const F32 f)
MaterialParameter interface.
set(MaterialParameterHandle * handle, const LinearColorF & fv)
set(MaterialParameterHandle * handle, const MatrixF & mat, const GFXShaderConstType matrixType)
set(MaterialParameterHandle * handle, const MatrixF * mat, const U32 arraySize, const GFXShaderConstType matrixType)
set(MaterialParameterHandle * handle, const PlaneF & fv)
set(MaterialParameterHandle * handle, const Point2F & fv)
set(MaterialParameterHandle * handle, const Point2I & fv)
set(MaterialParameterHandle * handle, const Point3F & fv)
set(MaterialParameterHandle * handle, const Point3I & fv)
set(MaterialParameterHandle * handle, const Point4F & fv)
set(MaterialParameterHandle * handle, const Point4I & fv)
set(MaterialParameterHandle * handle, const S32 f)
setBuffers(Vector< GFXShaderConstDesc > & constDesc, Vector< GFXShaderConstBufferRef > & buffers)
Private Functions
Detailed Description
Private Attributes
Vector< GFXShaderConstBufferRef > mBuffers
Public Functions
ShaderMaterialParameters()
~ShaderMaterialParameters()
getAlignmentValue(const GFXShaderConstType constType)
Reimplemented from: MaterialParameters
getBuffer(U32 i)
set(MaterialParameterHandle * handle, const AlignedArray< F32 > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< Point2F > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< Point2I > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< Point3F > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< Point3I > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< Point4F > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< Point4I > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const AlignedArray< S32 > & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const F32 f)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const LinearColorF & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const MatrixF & mat, const GFXShaderConstType matrixType)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const MatrixF * mat, const U32 arraySize, const GFXShaderConstType matrixType)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const PlaneF & fv)
set(MaterialParameterHandle * handle, const Point2F & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const Point2I & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const Point3F & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const Point3I & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const Point4F & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const Point4I & fv)
Reimplemented from: MaterialParameters
set(MaterialParameterHandle * handle, const S32 f)
Reimplemented from: MaterialParameters
setBuffers(Vector< GFXShaderConstDesc > & constDesc, Vector< GFXShaderConstBufferRef > & buffers)