[go: up one dir, main page]

Enum gfx::shade::core::IsRect []

pub enum IsRect {
    Rect,
    NoRect,
}

Whether the sampler samples a rectangle texture.

Rectangle textures are the same as 2D textures, but accessed with absolute texture coordinates (as opposed to the usual, normalized to [0, 1]).

Variants

Trait Implementations

impl Eq for IsRect

impl PartialEq<IsRect> for IsRect

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

This method tests for !=.

impl Clone for IsRect

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for IsRect

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Copy for IsRect

impl Debug for IsRect

Formats the value using the given formatter.