Version: 2018.2
public void SetRandomWriteTarget (int index, Rendering.RenderTargetIdentifier rt);
public void SetRandomWriteTarget (int index, ComputeBuffer buffer, bool preserveCounterValue= false);

パラメーター

indexシェーダーのランダム書き込みターゲットのインデックス
bufferComputeBuffer to set as write targe.
preserveCounterValueCounterValue を変更なしに維持するかどうか
rtRenderTargetIdentifier to set as write target.

説明

Set random write target for Shader Model 4.5 level pixel shaders.

This is the CommandBuffer equivalent of Graphics.SetRandomWriteTarget. The same limitations nad exceptions applies to this call.