Version: 2017.3

CommandBuffer.CopyCounterValue

Switch to Manual
public void CopyCounterValue (ComputeBuffer src, ComputeBuffer dst, uint dstOffsetBytes);

Parameters

src Append/consume buffer to copy the counter from.
dst A buffer to copy the counter to.
dstOffsetBytes Target byte offset in dst buffer.

Description

Adds a command to copy ComputeBuffer counter value.

Note: this command can not be used on LightEvent command buffers.

See Also: ComputeBuffer.CopyCount.