UnityEngine.Shader.SetGlobalTexture C# (CSharp) 메소드

SetGlobalTexture() 개인적인 메소드

private SetGlobalTexture ( int nameID, Texture tex ) : void
nameID int
tex Texture
리턴 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

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