pub struct Scene {
pub bottoms: Vec<Vec<Geometry>>,
pub instances: Vec<Instance>,
}Expand description
The bottom levels and the top level of an acceleration structure.
Fields§
§bottoms: Vec<Vec<Geometry>>The bottom levels, each a list of geometries.
instances: Vec<Instance>The top level: the instances of the bottom levels.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Scene
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