Struct gfx::state::Stencil
[−]
[src]
pub struct Stencil {
pub front: StencilSide,
pub back: StencilSide,
}Complete stencil state, specifying how to handle the front and back side of a face.
Fields
front | |
back |
Methods
impl Stencil
fn new(fun: Comparison, mask: u8, ops: (StencilOp, StencilOp, StencilOp)) -> Stencil
Create a new stencil state with a given function.