SetProgramConstantUint64x4 Data Member Function

Sets the value of a four-component shader constant.

Prototype

int32 SetProgramConstantUint64x4( int32 p_nHandle, int32 p_nIndex, uint64 x, uint64 y, uint64 z, uint64 w )

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.
uint64xThe X component value.
uint64yThe Y component value.
uint64zThe Z component value.
uint64wThe W component value.

Examples

Copy Text To Clipboard

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