コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }