Stores three floating point values inside a program constant with at least three components.
int32 SetProgramConstantFloat32x3( int32 p_nHandle, int32 p_iIndex, float64 Value1, float64 Value2, float64 Value3 )
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_iIndex | The index of the constant whose value is to be set. |
float64 | Value1 | A value to store in the first component of the constant. |
float64 | Value2 | A value to store in the second component of the constant. |
float64 | Value3 | A value to store in the third component of the constant. |
None published. Please look for an example in the Simdify Scripting Language code base.