/// <summary> /// Sets stencil test state. /// </summary> /// <param name="frontFace">The stencil state to use for front faces.</param> /// <param name="backFace">The stencil state to use for back faces.</param> public void SetStencil(StencilFlags frontFace, StencilFlags backFace) { NativeMethods.bgfx_encoder_set_stencil(ptr, (uint)frontFace, (uint)backFace); }
/// <summary> /// Sets stencil test state. /// </summary> /// <param name="frontFace">The stencil state to use for front faces.</param> public void SetStencil(StencilFlags frontFace) { SetStencil(frontFace, StencilFlags.None); }