Struct rend3_gltf::GltfSceneInstance
source · [−]Expand description
Data specific to each instance of a gltf scene.
Fields
nodes: Vec<Labeled<Node>>
The flat list of nodes in the scene. Each node points to a list of children and optionally a parent using indices.
topological_order: Vec<usize>
Iterating the nodes
following the order in this list guarantees that
parents will always be visited before children. This allows avoiding
recursion in several algorithms.
Auto Trait Implementations
impl RefUnwindSafe for GltfSceneInstance
impl Send for GltfSceneInstance
impl Sync for GltfSceneInstance
impl Unpin for GltfSceneInstance
impl UnwindSafe for GltfSceneInstance
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