SetGlobalBuffer() public static method

public static SetGlobalBuffer ( string propertyName, ComputeBuffer buffer ) : void
propertyName string
buffer ComputeBuffer
return void
コード例 #1
0
 public static void SetGlobalBuffer(string name, ComputeBuffer buffer)
 {
     Shader.SetGlobalBuffer(Shader.PropertyToID(name), buffer);
 }