Sets the value of a shader constant.
int32 SetProgramConstantUint32( int32 p_nHandle, int32 p_nIndex, uint32 value )
| 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. |
| uint32 | value | The value to set. |
None published. Please look for an example in the Simdify Scripting Language code base.