UnityEngine.Shader.SetGlobalTexture C# (CSharp) Method

SetGlobalTexture() public static method

public static SetGlobalTexture ( string propertyName, Texture tex ) : void
propertyName string
tex Texture
return 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
ファイル: Shader.cs プロジェクト: lsx6244413/UnityDecomplie
 public static void SetGlobalTexture(string propertyName, Texture tex)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(propertyName), tex);
 }
All Usage Examples Of UnityEngine.Shader::SetGlobalTexture