This version of Unity is unsupported.

CommandBuffer.SetGlobalConstantBuffer

Declaration

public void SetGlobalConstantBuffer(ComputeBuffer buffer, int nameID, int offset, int size);

Parameters

buffer The buffer to bind.
offset Offset from the start of the ComputeBuffer in bytes.
size Size in bytes of the area to bind.
nameID Name of the constant buffer (use Shader.PropertyToID to generate).

Description

Add a command to bind a global constant buffer.