SetProgramConstantBool32x2 Data Member Function

Sets the value of a two-component shader constant.

Prototype

int32 SetProgramConstantBool32x2( int32 p_nHandle, int32 p_nIndex, int32 x, int32 y )

Parameters

Parameter Type Parameter Name Documentation
int32p_nHandleThe handle to the shader program. This can be acquired by calling the <Program> object's GetHandle() data interface.
int32p_nIndexThe index of the shader constant to set.
int32xThe X component value.
int32yThe Y component value.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.