enum ClearFlags : System.Enum

book_4_sparkGenerated
code_blocksInput

Description

The ClearFlags enumeration in the Sandbox namespace provides flags for clearing a render target (RT) before rendering a scene using a SceneCamera. This enum is marked with the FlagsAttribute, allowing bitwise combination of its member values.

Members

Static Fields

Member NameSummary
NoneNo clearing will be performed.
ColorThe color buffer (the stuff you can see).
DepthThe depth buffer.
StencilThe stencil.
AllClears all buffers (color, depth, and stencil).