Struct rtbvh::Bvh [−][src]
pub struct Bvh { /* fields omitted */ }
Implementations
Validates the current bvh for correctness in terms of primitive ids and tree structure
pub fn traverse_iter<'a, 'b, T: 'a + Primitive>(
&'a self,
ray: &'b mut Ray,
primitives: &'a [T]
) -> BvhIterator<'a, 'b, T>ⓘNotable traits for BvhIterator<'a, 'b, T>
impl<'a, 'b, T: 'a + Primitive> Iterator for BvhIterator<'a, 'b, T> type Item = (&'a T, &'b mut Ray);
pub fn traverse_iter_packet<'a, 'b, T: 'a + Primitive>(
&'a self,
ray: &'b mut RayPacket4,
primitives: &'a [T]
) -> BvhPacketIterator<'a, 'b, T>ⓘNotable traits for BvhPacketIterator<'a, 'b, T>
impl<'a, 'b, T: 'a + Primitive> Iterator for BvhPacketIterator<'a, 'b, T> type Item = (&'a T, &'b mut RayPacket4);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Bvh
impl UnwindSafe for Bvh
Blanket Implementations
Mutably borrows from an owned value. Read more