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 プロパティー名 ID。Shader.PropertyToID を使って取得します。
name プロパティー名
value The ComputeBuffer or GraphicsBuffer value to set.

説明

Sets a named buffer value.

Additional resources: ComputeShader, ComputeBuffer, GraphicsBuffer.