Enum bedrock::StencilOp [] [src]

#[repr(C)]
pub enum StencilOp { Keep, Zero, Replace, IncrementClamp, DecrementClamp, Invert, IncrementWrap, DecrementWrap, }

Stencil action function

Variants

Keeps the current value

Sets the value to 0

Sets the value to reference

Increments the current value and clamps to the maximum representable unsigned value

Decrements the current value and clamps to 0

Bitwise-inverts the current value

Increments the current value and wraps to 0 when the maximum value would have been exceeded

Decrements the current value and wraps to the maximum possible value when the value would go below 0

Trait Implementations

impl Debug for StencilOp
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for StencilOp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StencilOp
[src]

impl PartialEq for StencilOp
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for StencilOp
[src]

Auto Trait Implementations

impl Send for StencilOp

impl Sync for StencilOp