UnityEngine.Shader.SetGlobalTexture C# (CSharp) Method

SetGlobalTexture() private method

private SetGlobalTexture ( int nameID, Texture tex ) : void
nameID int
tex Texture
return void
        public static extern void SetGlobalTexture(int nameID, Texture tex);
        public static void SetGlobalTexture(string propertyName, Texture tex)

Same methods

Shader::SetGlobalTexture ( string propertyName, Texture tex ) : void

Usage Example

Esempio n. 1
0
 public static void SetGlobalTexture(string propertyName, Texture tex)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(propertyName), tex);
 }
All Usage Examples Of UnityEngine.Shader::SetGlobalTexture