Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.