Sets the value of a matrix array shader constant.
int32 SetProgramConstantFloat32MatrixMxNxN( int32 p_nHandle, int32 p_nIndex, Float32MatrixArray data, int32 p_nCols, int32 p_nRows )
| Parameter Type | Parameter Name | Documentation |
|---|---|---|
| int32 | p_nHandle | The handle to the shader program. This can be acquired by calling the <Program> object's GetHandle() data interface. |
| int32 | p_nIndex | The index of the shader constant to set. |
| <Float32MatrixArray> | data | A pointer to the source. |
| int32 | p_nCols | The number of columns. |
| int32 | p_nRows | The number of rows. |
None published. Please look for an example in the Simdify Scripting Language code base.