Struct amethyst_renderer::ObjFormat [−][src]
pub struct ObjFormat;
Allows loading from Wavefront files see: https://en.wikipedia.org/wiki/Wavefront_.obj_file
Trait Implementations
impl Clone for ObjFormat[src]
impl Clone for ObjFormatfn clone(&self) -> ObjFormat[src]
fn clone(&self) -> ObjFormatReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl SimpleFormat<Mesh> for ObjFormat[src]
impl SimpleFormat<Mesh> for ObjFormatconst NAME: &'static str
NAME: &'static str = "WAVEFRONT_OBJ"
A unique identifier for this format.
type Options = ()
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
fn import(&self, bytes: Vec<u8>, _: ()) -> Result<MeshData>[src]
fn import(&self, bytes: Vec<u8>, _: ()) -> Result<MeshData>Produces asset data from given bytes.