Version: 2021.2
언어: 한국어
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);

파라미터

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

설명

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.