BgfxSetViewClear Method (UInt16, ClearTargets, Single, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) |
Sets view clear flags for multiple render targets.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public 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
- Type: SystemUInt16
The index of the view. - targets
- Type: Internal.SharpBgfxClearTargets
The target surfaces that should be cleared. - depth
- Type: SystemSingle
The value to fill the depth buffer. - stencil
- Type: SystemByte
The value to fill the stencil buffer. - rt0 (Optional)
- Type: SystemByte
The color palette index for render target 0. - rt1 (Optional)
- Type: SystemByte
The color palette index for render target 1. - rt2 (Optional)
- Type: SystemByte
The color palette index for render target 2. - rt3 (Optional)
- Type: SystemByte
The color palette index for render target 3. - rt4 (Optional)
- Type: SystemByte
The color palette index for render target 4. - rt5 (Optional)
- Type: SystemByte
The color palette index for render target 5. - rt6 (Optional)
- Type: SystemByte
The color palette index for render target 6. - rt7 (Optional)
- Type: SystemByte
The color palette index for render target 7.
See Also