pub type StencilFaceState = StencilFaceState;Aliased Type§
#[repr(C)]pub struct StencilFaceState {
pub compare: CompareFunction,
pub fail_op: StencilOperation,
pub depth_fail_op: StencilOperation,
pub pass_op: StencilOperation,
}Fields§
§compare: CompareFunctionComparison function that determines if the fail_op or pass_op is used on the stencil buffer.
fail_op: StencilOperationOperation that is performed when stencil test fails.
depth_fail_op: StencilOperationOperation that is performed when depth test fails but stencil test succeeds.
pass_op: StencilOperationOperation that is performed when stencil test success.