BgfxSetViewClear(UInt16, ClearTargets, Single, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Method |
Sets view clear flags for multiple render targets.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void SetViewClear(
ushort id,
ClearTargets targets,
float depth,
byte stencil,
byte rt0 = 255,
byte rt1 = 255,
byte rt2 = 255,
byte rt3 = 255,
byte rt4 = 255,
byte rt5 = 255,
byte rt6 = 255,
byte rt7 = 255
)
Parameters
- id UInt16
- The index of the view.
- targets ClearTargets
- The target surfaces that should be cleared.
- depth Single
- The value to fill the depth buffer.
- stencil Byte
- The value to fill the stencil buffer.
- rt0 Byte (Optional)
- The color palette index for render target 0.
- rt1 Byte (Optional)
- The color palette index for render target 1.
- rt2 Byte (Optional)
- The color palette index for render target 2.
- rt3 Byte (Optional)
- The color palette index for render target 3.
- rt4 Byte (Optional)
- The color palette index for render target 4.
- rt5 Byte (Optional)
- The color palette index for render target 5.
- rt6 Byte (Optional)
- The color palette index for render target 6.
- rt7 Byte (Optional)
- The color palette index for render target 7.
See Also