Description
The RemoveCommandList
method is used to remove a specific command list from the camera's rendering process at a specified stage. This is useful for managing and optimizing the rendering pipeline by ensuring that only necessary command lists are executed during rendering.
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 rendering stage of the camera component.
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);