Version: 2022.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 バッファの値を別のバッファにカウンター変数をコピーします。
dst バッファの値を別のバッファにカウンター変数をコピーします。
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.