bgfx_set_view_clear

Set view clear flags.

  1. void bgfx_set_view_clear(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, byte _stencil)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_view_clear
    (,
    ushort _flags
    ,
    uint _rgba
    ,
    float _depth
    ,)
  2. da_bgfx_set_view_clear bgfx_set_view_clear;

Parameters

_id bgfx_view_id_t

View id.

_flags ushort

Clear flags. Use BGFX_CLEAR_NONE to remove any clear operation. See: BGFX_CLEAR_*.

_rgba uint

Color clear value.

_depth float

Depth clear value.

_stencil byte

Stencil clear value.

Meta