Description
The RemoveCommandList
method is used to remove a specific command list from the camera's rendering pipeline at a specified stage. This is useful for managing and optimizing the rendering process by ensuring that only necessary command lists are executed.
Usage
To use the RemoveCommandList
method, you need to provide a CommandList
object and a Stage
enumeration value. The method will remove the specified command list from the given stage in the camera's rendering process.
Example
// Assuming 'cameraComponent' is an instance of CameraComponent
// and 'commandList' is an instance of CommandList
// and 'stage' is a valid Stage enumeration value
cameraComponent.RemoveCommandList(commandList, stage);