[go: up one dir, main page]

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

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 Copy for IsRect
[src]

impl PartialEq<IsRect> for IsRect
[src]

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

This method tests for !=.

impl Eq for IsRect
[src]

impl Hash for IsRect
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for IsRect
[src]

Formats the value using the given formatter.

impl Clone for IsRect
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more