public static SetGlobalTexture ( string propertyName, |
||
propertyName | string | |
tex | ||
return | void |
public static void SetGlobalTexture(string propertyName, Texture tex){}
public static void SetGlobalMatrix(string propertyName, Matrix4x4 mat){}
Shader::SetGlobalTexture ( int nameID, |
public static void SetGlobalTexture(string propertyName, Texture tex) { Shader.SetGlobalTexture(Shader.PropertyToID(propertyName), tex); }