SetProgramConstantFloat64MatrixMxNxN Data Member Function

Sets the value of a matrix array shader constant.

Prototype

int32 SetProgramConstantFloat64MatrixMxNxN( int32 p_nHandle, int32 p_nIndex, Float64MatrixArray data, int32 p_nCols, int32 p_nRows )

Parameters

Parameter Type Parameter Name Documentation
int32p_nHandleThe handle to the shader program. This can be acquired by calling the <Program> object's GetHandle() data interface.
int32p_nIndexThe index of the shader constant to set.
<Float64MatrixArray>dataA pointer to the source.
int32p_nColsThe number of columns.
int32p_nRowsThe number of rows.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.