SetGlobalTexture() private method

private SetGlobalTexture ( int nameID, Texture tex ) : void
nameID int
tex Texture
return void
Exemplo n.º 1
0
 public static void SetGlobalTexture(string propertyName, Texture tex)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(propertyName), tex);
 }
Exemplo n.º 2
0
 public static void SetGlobalTexture(string name, Texture value)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(name), value);
 }