SetGlobalTexture() private method

private SetGlobalTexture ( int nameID, Texture tex ) : void
nameID int
tex Texture
return void
コード例 #1
0
ファイル: Shader.cs プロジェクト: lsx6244413/UnityDecomplie
 public static void SetGlobalTexture(string propertyName, Texture tex)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(propertyName), tex);
 }
コード例 #2
0
 public static void SetGlobalTexture(string name, Texture value)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(name), value);
 }