Struct amethyst_renderer::Texture [] [src]

pub struct Texture { /* fields omitted */ }

Handle to a GPU texture resource.

Methods

impl Texture
[src]

[src]

Builds a new texture with the given raw texture data.

[src]

Builds a new texture with the given raw texture data.

[src]

Returns the sampler for the texture.

[src]

Returns the texture's raw shader resource view.

Trait Implementations

impl Clone for Texture
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Texture
[src]

[src]

Formats the value using the given formatter.

impl Eq for Texture
[src]

impl Hash for Texture
[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 PartialEq for Texture
[src]

[src]

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

[src]

This method tests for !=.

impl Asset for Texture
[src]

The Data type the asset can be created from.

The ECS storage type to be used. You'll want to use VecStorage in most cases.