Struct gfx::state::Stencil []

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

Methods

impl Stencil

Create a new stencil state with a given function.

Trait Implementations

impl Debug for Stencil

Formats the value using the given formatter.

impl Hash for Stencil

impl PartialOrd<Stencil> for Stencil

impl PartialEq<Stencil> for Stencil

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Stencil

Returns the "default value" for a type. Read more

impl Eq for Stencil

impl Copy for Stencil

impl Ord for Stencil

impl Clone for Stencil

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more