robot_2Generated
code_blocksInput

Description

The Flags property of the CommandList class in the Sandbox.Rendering namespace is used to specify various rendering options and behaviors for a command list. This property is of type CommandList.Flag, which is an enumeration that defines different flags that can be set to control rendering operations.

Usage

To use the Flags property, you can set it to one or more values from the CommandList.Flag enumeration. This allows you to customize the behavior of the command list during rendering. For example, you might set flags to enable or disable certain rendering features or optimizations.

Example

// Example of setting the Flags property
CommandList commandList = new CommandList();
commandList.Flags = CommandList.Flag.EnableDepthTest | CommandList.Flag.EnableBlending;