Struct amethyst_renderer::Texture []

pub struct Texture { /* fields omitted */ }

Handle to a GPU texture resource.

Methods

impl Texture
[src]

Builds a new texture with the given raw texture data.

Builds a new texture with the given raw texture data.

Returns the sampler for the texture.

Returns the texture's raw shader resource view.

Trait Implementations

impl Clone for Texture
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Texture
[src]

Formats the value using the given formatter.

impl Eq for Texture
[src]

impl Hash for Texture
[src]

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

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

impl PartialEq for Texture
[src]

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

This method tests for !=.