Click or drag to resize

ClearTargets Enumeration

Specifies flags for clearing surfaces.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
[FlagsAttribute]
public enum ClearTargets
Members
Member nameValueDescription
None0 Don't clear anything.
Color1 Clear the color channels.
Depth2 Clear the depth buffer.
Stencil4 Clear the stencil buffer.
DiscardColor08 Discard the first color framebuffer.
DiscardColor116 Discard the second color framebuffer.
DiscardColor232 Discard the third color framebuffer.
DiscardColor364 Discard the fourth color framebuffer.
DiscardColor4128 Discard the fifth color framebuffer.
DiscardColor5256 Discard the sixth color framebuffer.
DiscardColor6512 Discard the seventh color framebuffer.
DiscardColor71,024 Discard the eighth color framebuffer.
DiscardDepth2,048 Discard the depth buffer.
DiscardStencil4,096 Discard the stencil buffer.
See Also