Struct rtbvh::binned_sah::BinnedSahBuilder [−][src]
Implementations
impl<'a, T: Primitive<i32>> BinnedSahBuilder<'a, T>
[src]
impl<'a, T: Primitive<i32>> BinnedSahBuilder<'a, T>
[src]pub fn new(aabbs: &'a [Aabb<i32>], primitives: &'a [T]) -> Self
[src]
pub fn with_max_depth(self, depth: usize) -> Self
[src]
Maximum depth of tree
pub fn with_bin_count(self, bin_count: usize) -> Self
[src]
Maximum number of bins to check for splitting a node
pub fn with_max_leaf_size(self, max_leaf_size: usize) -> Self
[src]
Maximum number of primitives inside a node
pub fn with_traversal_cost(self, traversal_cost: f32) -> Self
[src]
Cost to determine for splitting a node with the SAH algorithm for traversing a node
Trait Implementations
impl<'a, T: Primitive<i32>> BuildAlgorithm for BinnedSahBuilder<'a, T>
[src]
impl<'a, T: Primitive<i32>> BuildAlgorithm for BinnedSahBuilder<'a, T>
[src]Auto Trait Implementations
impl<'a, T> RefUnwindSafe for BinnedSahBuilder<'a, T> where
T: RefUnwindSafe,
impl<'a, T> RefUnwindSafe for BinnedSahBuilder<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for BinnedSahBuilder<'a, T>
impl<'a, T> Send for BinnedSahBuilder<'a, T>
impl<'a, T> Sync for BinnedSahBuilder<'a, T>
impl<'a, T> Sync for BinnedSahBuilder<'a, T>
impl<'a, T> Unpin for BinnedSahBuilder<'a, T>
impl<'a, T> Unpin for BinnedSahBuilder<'a, T>
impl<'a, T> UnwindSafe for BinnedSahBuilder<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for BinnedSahBuilder<'a, T> where
T: RefUnwindSafe,