Struct three::Texture [] [src]

pub struct Texture<T> { /* fields omitted */ }

An image applied (mapped) to the surface of a shape or polygon.

Methods

impl<T> Texture<T>
[src]

[src]

[src]

Returns normalized UV rectangle (x0, y0, x1, y1) of the current texel range.

Trait Implementations

impl<T> Clone for Texture<T> where
    T: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Debug for Texture<T> where
    T: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Eq for Texture<T> where
    T: PartialEq
[src]

impl<T> Hash for Texture<T>
[src]

[src]

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

1.3.0
[src]

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

impl<T> PartialEq for Texture<T> where
    T: PartialEq
[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 !=.

Auto Trait Implementations

impl<T> Send for Texture<T> where
    T: Send

impl<T> Sync for Texture<T> where
    T: Sync