bgfx_set_stencil

Set stencil test state.

  1. void bgfx_set_stencil(uint _fstencil, uint _bstencil)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_stencil
    (,)
  2. da_bgfx_set_stencil bgfx_set_stencil;

Parameters

_fstencil uint

Front stencil state.

_bstencil uint

Back stencil state. If back is set to BGFX_STENCIL_NONE _fstencil is applied to both front and back facing primitives.

Meta