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

SetGlobalTexture() 공개 정적인 메소드

public static SetGlobalTexture ( string propertyName, Texture tex ) : void
propertyName string
tex Texture
리턴 void
		public static void SetGlobalTexture(string propertyName, Texture tex){}
		public static void SetGlobalMatrix(string propertyName, Matrix4x4 mat){}

Same methods

Shader::SetGlobalTexture ( int nameID, 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