void RemoveCommandList( CommandList buffer, Stage stage )
void RemoveCommandList( CommandList buffer )

book_4_sparkGenerated
code_blocksInput

Description

The RemoveCommandList method is used to remove a specific command list from the rendering pipeline of a camera component. This method is part of the CameraComponent class, which is responsible for managing camera-related functionalities in a scene.

Usage

To use the RemoveCommandList method, you need to have an instance of CameraComponent. You will also need a CommandList and a Stage to specify which command list to remove from which stage of the rendering process.

Here is how you can call this method:

CameraComponent cameraComponent = new CameraComponent();
CommandList commandList = new CommandList();
Stage stage = Stage.Opaque; // Example stage

cameraComponent.RemoveCommandList(commandList, stage);

This will remove the specified commandList from the specified stage in the camera's rendering process.

Example

CameraComponent cameraComponent = new CameraComponent();
CommandList commandList = new CommandList();
Stage stage = Stage.Opaque; // Example stage

cameraComponent.RemoveCommandList(commandList, stage);