enum
TextureSource
pub enum TextureSource {
Uri(String),
Embedded { mime: String, bytes: Vec<u8> },
}Where a texture's image is.
Variants
Embedded
Embedded { mime: String, bytes: Vec<u8> }Image bytes in the file (image/png, image/jpeg, …).