Struct rtbvh::binned_sah::BinnedSahBuilder[][src]

pub struct BinnedSahBuilder<'a, T: Primitive<i32>> { /* fields omitted */ }

Implementations

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]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for BinnedSahBuilder<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for BinnedSahBuilder<'a, T>

impl<'a, T> Sync for BinnedSahBuilder<'a, T>

impl<'a, T> Unpin for BinnedSahBuilder<'a, T>

impl<'a, T> UnwindSafe for BinnedSahBuilder<'a, T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.