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.
int32 Set( int32 p_nIndex, int32 p_nValue )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The index of the value to set. Must be 0 to 5. |
int32 | p_nValue | The value to set. Must be within the supported values on your GPU. |
None published. Please look for an example in the Scenome Scripting Language code base.