Sets the value of a three-component shader constant.
int32 SetProgramConstantFloat64x3( int32 p_nHandle, int32 p_nIndex, float64 x, float64 y, float64 z )
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. |
float64 | x | The X component value. |
float64 | y | The Y component value. |
float64 | z | The Z component value. |
None published. Please look for an example in the Simdify Scripting Language code base.