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

コード例 #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