Struct amethyst_renderer::PngFormat [] [src]

pub struct PngFormat;

Allows loading of PNG files.

Methods

impl PngFormat
[src]

[src]

Load Png from memory buffer

Trait Implementations

impl Clone for PngFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl SimpleFormat<Texture> for PngFormat
[src]

NAME: &'static str = "PNG"

A unique identifier for this format.

Options specific to the format, which are passed to import. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more

[src]

Produces asset data from given bytes.