Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CommandBuffer.CopyBuffer

Declaration

public void CopyBuffer(GraphicsBuffer source, GraphicsBuffer dest);

Parameters

source The source buffer.
dest The destination buffer.

Description

Adds a command to copy the contents of one GraphicsBuffer into another.

This is the equivalent of calling Graphics.CopyBuffer, using a CommandBuffer.