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