Description
The Blit
method in the CommandList
class is used to perform a blit operation using a specified material. This operation typically involves copying or transferring pixel data from one texture to another, often with some form of processing or transformation applied by the material.
Usage
To use the Blit
method, you need to have an instance of CommandList
and a Material
object that defines the shader and properties to be used during the blit operation. Call the method with the material as the parameter.
Example
// Create a new CommandList instance
CommandList commandList = new CommandList();
// Assume 'material' is a pre-defined Material object
Material material = new Material();
// Perform the blit operation
commandList.Blit(material);