Struct rend3_gltf::LoadedGltfScene
source · [−]pub struct LoadedGltfScene {
pub meshes: Vec<Labeled<Mesh>>,
pub materials: Vec<Labeled<MaterialHandle>>,
pub default_material: MaterialHandle,
pub images: ImageMap,
pub skins: Vec<Labeled<Skin>>,
pub animations: Vec<Labeled<Animation>>,
}
Expand description
Loaded data on a gltf scene that can be reused across multiple instances of the same set of objects.
Fields
meshes: Vec<Labeled<Mesh>>
materials: Vec<Labeled<MaterialHandle>>
default_material: MaterialHandle
images: ImageMap
skins: Vec<Labeled<Skin>>
animations: Vec<Labeled<Animation>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoadedGltfScene
impl Send for LoadedGltfScene
impl Sync for LoadedGltfScene
impl Unpin for LoadedGltfScene
impl UnwindSafe for LoadedGltfScene
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more