Set Data Member Function

Sets the workgroup and local group value at the specified index. The first three values are work_group_x, work_group_y, and work_group_z. The last three values are local_size_x, local_size_y, and local_size_z. These values can also be set in the compute shader.

Prototype

int32 Set( int32 p_nIndex, int32 p_nValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the value to set. Must be 0 to 5.
int32p_nValueThe value to set. Must be within the supported values on your GPU.

Examples

Copy Text To Clipboard

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