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