Struct rtbvh::Builder [−][src]
pub struct Builder<'a, T: Primitive<i32>> { pub aabbs: &'a [Aabb<i32>], pub primitives: &'a [T], pub primitives_per_leaf: usize, }
Fields
aabbs: &'a [Aabb<i32>]
primitives: &'a [T]
primitives_per_leaf: usize
Implementations
impl<'a, T: Primitive<i32>> Builder<'a, T>
[src]
impl<'a, T: Primitive<i32>> Builder<'a, T>
[src]pub fn construct_spatial_sah(self) -> Bvh where
T: SpatialTriangle,
[src]
T: SpatialTriangle,
pub fn construct_binned_sah(self) -> Bvh
[src]
pub fn construct_locally_ordered_clustered(self) -> Bvh
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Builder<'a, T> where
T: RefUnwindSafe,
impl<'a, T> RefUnwindSafe for Builder<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for Builder<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for Builder<'a, T> where
T: RefUnwindSafe,