pub struct SceneBuffers {Show 17 fields
pub triangles: Vec<u8>,
pub nodes: Vec<u8>,
pub shapes: Vec<u8>,
pub materials: Vec<u8>,
pub uv: Vec<u8>,
pub content: Vec<u8>,
pub surfaces: Vec<u8>,
pub layers: Vec<u8>,
pub content_info: Vec<u8>,
pub emitters: Vec<u8>,
pub emitter_cdf: Vec<u8>,
pub lights: Vec<u8>,
pub triangle_count: u32,
pub shape_count: u32,
pub emitter_count: u32,
pub light_count: u32,
pub rt: RtGeometry,
}Fields§
§triangles: Vec<u8>§nodes: Vec<u8>§shapes: Vec<u8>§materials: Vec<u8>§uv: Vec<u8>§content: Vec<u8>§surfaces: Vec<u8>§layers: Vec<u8>§content_info: Vec<u8>§emitters: Vec<u8>§emitter_cdf: Vec<u8>§lights: Vec<u8>§triangle_count: u32§shape_count: u32§emitter_count: u32§light_count: u32§rt: RtGeometryImplementations§
Auto Trait Implementations§
impl Freeze for SceneBuffers
impl RefUnwindSafe for SceneBuffers
impl Send for SceneBuffers
impl Sync for SceneBuffers
impl Unpin for SceneBuffers
impl UnsafeUnpin for SceneBuffers
impl UnwindSafe for SceneBuffers
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.