Enum bgfx.ClearFlags
Namespace: Bgfx
Syntax
[Flags]
public enum ClearFlags : ushort
Fields
Name | Description | Value |
---|---|---|
None | No clear flags. |
0 |
Color | Clear color. |
1 |
Depth | Clear depth. |
2 |
Stencil | Clear stencil. |
4 |
DiscardColor0 | Discard frame buffer attachment 0. |
8 |
DiscardColor1 | Discard frame buffer attachment 1. |
16 |
DiscardColor2 | Discard frame buffer attachment 2. |
32 |
DiscardColor3 | Discard frame buffer attachment 3. |
64 |
DiscardColor4 | Discard frame buffer attachment 4. |
128 |
DiscardColor5 | Discard frame buffer attachment 5. |
256 |
DiscardColor6 | Discard frame buffer attachment 6. |
512 |
DiscardColor7 | Discard frame buffer attachment 7. |
1024 |
DiscardColorMask | 2040 | |
DiscardDepth | Discard frame buffer depth attachment. |
2048 |
DiscardStencil | Discard frame buffer stencil attachment. |
4096 |
DiscardMask | 8184 |