pub struct RayTraversal {
pub stack: StackStack<UVec2, TRAVERSAL_STACK_SIZE>,
pub current_group: UVec2,
pub primitive_group: UVec2,
pub oct_inv4: u32,
pub ray: Ray,
}Expand description
Holds Ray traversal state to allow for dynamic traversal (yield on hit)
Fields§
§stack: StackStack<UVec2, TRAVERSAL_STACK_SIZE>§current_group: UVec2§primitive_group: UVec2§oct_inv4: u32§ray: RayImplementations§
Auto Trait Implementations§
impl Freeze for RayTraversal
impl RefUnwindSafe for RayTraversal
impl Send for RayTraversal
impl Sync for RayTraversal
impl Unpin for RayTraversal
impl UnwindSafe for RayTraversal
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