Click or drag to resize

ClearTargets Enumeration

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
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.
DiscardColor71024 Discard the eighth color framebuffer.
DiscardDepth2048 Discard the depth buffer.
DiscardStencil4096 Discard the stencil buffer.
See Also