Specifies flags for clearing surfaces.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax [FlagsAttribute]
public enum ClearTargets
Members
| Member name | Value | Description |
---|
| None | 0 |
Don't clear anything.
|
| Color | 1 |
Clear the color channels.
|
| Depth | 2 |
Clear the depth buffer.
|
| Stencil | 4 |
Clear the stencil buffer.
|
| DiscardColor0 | 8 |
Discard the first color framebuffer.
|
| DiscardColor1 | 16 |
Discard the second color framebuffer.
|
| DiscardColor2 | 32 |
Discard the third color framebuffer.
|
| DiscardColor3 | 64 |
Discard the fourth color framebuffer.
|
| DiscardColor4 | 128 |
Discard the fifth color framebuffer.
|
| DiscardColor5 | 256 |
Discard the sixth color framebuffer.
|
| DiscardColor6 | 512 |
Discard the seventh color framebuffer.
|
| DiscardColor7 | 1024 |
Discard the eighth color framebuffer.
|
| DiscardDepth | 2048 |
Discard the depth buffer.
|
| DiscardStencil | 4096 |
Discard the stencil buffer.
|
See Also