pub struct Instance {
pub instance_to_world: Mat4,
pub object_index: usize,
pub area_light_index: Option<usize>,
pub reverse_orientation: bool,
}
Fields§
§instance_to_world: Mat4
§object_index: usize
§area_light_index: Option<usize>
§reverse_orientation: bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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