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