Struct amethyst_renderer::JpgFormat[][src]

pub struct JpgFormat;

Allows loading of jpg or jpeg files.

Methods

impl JpgFormat
[src]

Load Jpg from memory buffer

Trait Implementations

impl Clone for JpgFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl SimpleFormat<Texture> for JpgFormat
[src]

NAME: &'static str = "JPEG"

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

Produces asset data from given bytes.

Auto Trait Implementations

impl Send for JpgFormat

impl Sync for JpgFormat