Struct amethyst_renderer::TextureMetadata [] [src]

pub struct TextureMetadata {
    pub sampler: Option<SamplerInfo>,
    pub mip_levels: Option<u8>,
    pub size: Option<(u16, u16)>,
    pub dynamic: bool,
    pub format: Option<SurfaceType>,
    pub channel: Option<ChannelType>,
}

Texture metadata, used while loading

Fields

Sampler info

Mipmapping

Texture size

Dynamic texture

Surface type

Channel type

Methods

impl TextureMetadata
[src]

[src]

Sampler info

[src]

Mipmapping

[src]

Texture size

[src]

Surface type

[src]

Channel type

[src]

Texture is dynamic

Trait Implementations

impl Debug for TextureMetadata
[src]

[src]

Formats the value using the given formatter.

impl Clone for TextureMetadata
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for TextureMetadata
[src]

[src]

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