public void CopyCounterValue (ComputeBuffer src, ComputeBuffer dst, uint dstOffsetBytes);
public void CopyCounterValue (ComputeBuffer src, GraphicsBuffer dst, uint dstOffsetBytes);
public void CopyCounterValue (GraphicsBuffer src, ComputeBuffer dst, uint dstOffsetBytes);
public void CopyCounterValue (GraphicsBuffer src, GraphicsBuffer dst, uint dstOffsetBytes);

Parámetros

srcAppend/consume buffer to copy the counter from.
dstA buffer to copy the counter to.
dstOffsetBytesTarget byte offset in dst buffer.

Descripción

Adds a command to copy ComputeBuffer or GraphicsBuffer counter value.

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

See Also: ComputeBuffer.CopyCount and GraphicsBuffer.CopyCount.