Description
The ClearCommandLists
method is used to remove all command list entries from a specified rendering stage within the CameraComponent
. This is useful for clearing out any previously set rendering commands that are no longer needed or need to be reset.
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);