pub struct ObjExport {
pub obj: String,
pub mtl: String,
pub texture_png: Vec<u8>,
}Expand description
Export mesh and atlas to OBJ format bytes for writing to files.
Fields§
§obj: String§mtl: String§texture_png: Vec<u8>Implementations§
Source§impl ObjExport
impl ObjExport
pub fn from_output(output: &MesherOutput, name: &str) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ObjExport
impl RefUnwindSafe for ObjExport
impl Send for ObjExport
impl Sync for ObjExport
impl Unpin for ObjExport
impl UnwindSafe for ObjExport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more