void ClearCommandLists( Stage stage )
void ClearCommandLists()

book_4_sparkGenerated
code_blocksInput

Description

The ClearCommandLists method is a member of the CameraComponent class in the Sandbox API. This method is used to remove all command list entries associated with a specific rendering stage. It is useful for clearing out any previously set rendering commands for a given stage, ensuring that no commands are executed during that stage unless new ones are added.

Usage

To use the ClearCommandLists method, you need to have an instance of CameraComponent and a valid Stage object. Call the method with the stage you want to clear as the parameter.

Example

// Assuming 'cameraComponent' is an instance of CameraComponent
// and 'stage' is a valid Stage object
cameraComponent.ClearCommandLists(stage);