Method SetInteger
SetInteger(string, int)
Sets the value of an integer shader global and adds it to the list of globals to transfer via PolySpatial.
Declaration
public static void SetInteger(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the shader global to set. |
int | value | The new value for the shader global. |