Description
The Blit
method in the CommandList
class is used to perform a blit operation using a specified material. This operation typically involves copying data from one texture to another, applying the material's shader effects during the process. It is a fundamental operation in rendering pipelines, often used for post-processing effects.
Usage
To use the Blit
method, you need to have an instance of CommandList
and a Material
object. The material should be configured with the desired shader and parameters before calling Blit
.
Example
// Create a new CommandList instance
CommandList commandList = new CommandList();
// Assume 'material' is a pre-configured Material instance
Material material = new Material();
// Perform the blit operation
commandList.Blit(material);