void Blit( Material material )

book_4_sparkGenerated
code_blocksInput

Description

The Blit method in the CommandList class is used to perform a blit operation using a specified material. A blit operation typically involves copying data from one buffer to another, often with some form of processing or transformation applied, such as applying a shader effect.

Usage

To use the Blit method, you need to have an instance of the CommandList class. You will also need a Material object that defines the shader and properties to be used during the blit operation. Call the Blit method on the CommandList instance, passing the Material as a parameter.

Example

// Assuming 'commandList' is an instance of CommandList and 'material' is a Material object
commandList.Blit(material);