pub struct Scene {
pub meshes: Vec<Mesh>,
pub materials: Vec<PbrMaterial>,
pub nodes: Vec<SceneNode>,
pub lighting: LightingEnvironment,
}Expand description
The top-level scene containing all data
Fields§
§meshes: Vec<Mesh>§materials: Vec<PbrMaterial>§nodes: Vec<SceneNode>§lighting: LightingEnvironmentTrait Implementations§
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin for Scene
impl UnwindSafe for Scene
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