This version of Unity is unsupported.

Shader.SetGlobalInteger

Switch to Manual

Declaration

public static void SetGlobalInteger(string name, int value);

Declaration

public static void SetGlobalInteger(int nameID, int value);

Parameters

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

Description

Sets a global integer property for all shaders.