Struct amethyst_renderer::TextureOffset[][src]

pub struct TextureOffset {
    pub u: (f32, f32),
    pub v: (f32, f32),
}

Material reference this part of the texture

Fields

Start and end offset for U coordinate

Start and end offset for V coordinate

Trait Implementations

impl Debug for TextureOffset
[src]

Formats the value using the given formatter. Read more

impl Clone for TextureOffset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TextureOffset
[src]

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

This method tests for !=.

impl Default for TextureOffset
[src]

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

Auto Trait Implementations