BgfxSetViewClear Method (UInt16, ClearTargets, UInt32, Single, Byte) |
Sets view clear flags.
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,
uint colorRgba,
float depth = 1f,
byte stencil = 0
)
Parameters
- id
- Type: SystemUInt16
The index of the view. - targets
- Type: Internal.SharpBgfxClearTargets
The target surfaces that should be cleared. - colorRgba
- Type: SystemUInt32
The clear color. - depth (Optional)
- Type: SystemSingle
The value to fill the depth buffer. - stencil (Optional)
- Type: SystemByte
The value to fill the stencil buffer.
See Also