Function psp::sys::sceGuStencilFunc

source ·
#[no_mangle]
pub unsafe extern "C" fn sceGuStencilFunc(
    func: StencilFunc,
    ref_: i32,
    mask: i32
)
Expand description

Set stencil function and reference value for stencil testing

§Parameters

  • func: Test function
  • ref_: The reference value for the stencil test
  • mask: Mask that is ANDed with both the reference value and stored stencil value when the test is done