Version: 2023.2
언어: 한국어
public void SetBuffer (string name, ComputeBuffer value);
public void SetBuffer (int nameID, ComputeBuffer value);
public void SetBuffer (string name, GraphicsBuffer value);
public void SetBuffer (int nameID, GraphicsBuffer value);

파라미터

nameID Property name ID, use Shader.PropertyToID to get it.
name Property name.
value The ComputeBuffer or GraphicsBuffer value to set.

설명

Sets a named buffer value.

Additional resources: ComputeShader, ComputeBuffer, GraphicsBuffer.