LiteFX::Rendering::RenderTargetFlags¶
Describes the behavior of render targets.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
enum class RenderTargetFlags : int;
Members¶
| Name | Description |
|---|---|
None | No flags are enabled. |
Clear | If enabled, color or depth (depending on the render target type) are cleared when starting a render pass that renders to the render target. |
ClearStencil | If enabled and the render target format supports stencil storage, the stencil part is cleared when the render pass that renders to the render target is started. |
Volatile | If enabled, the render target is discarded after ending the render pass. |
Non-Member Functions¶
| Name | Description |
|---|---|
operator& | Bitwise conjunction operator |
operator&= | Bitwise conjunction assignment operator |
operator| | Bitwise disjunction operator |
operator|= | Bitwise disjunction assignment operator |