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]

Sampler info

Mipmapping

Texture size

Surface type

Channel type

Texture is dynamic

Trait Implementations

impl Debug for TextureMetadata
[src]

Formats the value using the given formatter. Read more

impl Clone for TextureMetadata
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for TextureMetadata
[src]

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

Auto Trait Implementations