Enum gfx::device::shade::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

Rect
NoRect

Trait Implementations

Derived Implementations

impl Debug for IsRect

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for IsRect

fn eq(&self, __arg_0: &IsRect) -> bool

fn ne(&self, __arg_0: &IsRect) -> bool

impl Clone for IsRect

fn clone(&self) -> IsRect

fn clone_from(&mut self, source: &Self)

impl Copy for IsRect