This version of Unity is unsupported.

Shader.GetGlobalTexture

Switch to Manual

Declaration

public static Texture GetGlobalTexture(string name);

Declaration

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.