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