Torque3D Documentation / _generateds / ShaderMaterialParameters

ShaderMaterialParameters

Engine/source/materials/shaderMaterialParameters.h

More...

Public Functions

Returns the alignment value for the constType in bytes.

MaterialParameter interface.

set(MaterialParameterHandle * handle, const MatrixF * mat, const U32 arraySize, const GFXShaderConstType matrixType)

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)

Private Functions

releaseBuffers()