Shader.GetGlobalTexture

Switch to Manual
public static Texture GetGlobalTexture(string name);
public static Texture GetGlobalTexture(int nameID);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
name The name of the property.

Description

Gets a global texture property for all shaders previously set using SetGlobalTexture.

Did you find this page useful? Please give it a rating: