Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
bvh::v2::DefaultBuilder< Node >::Config Struct Reference

template<typename Node>
struct bvh::v2::DefaultBuilder< Node >::Config

Definition at line 23 of file default_builder.h.

Public Attributes

size_t parallel_threshold = 1024
 Threshold, in number of primitives, under which the builder operates in a single-thread.
 
Quality quality = Quality::High
 The quality of the BVH produced by the builder.
 
- Public Attributes inherited from bvh::v2::TopDownSahBuilder< Node >::Config
size_t max_leaf_size = 8
 Nodes that cannot be split based on the SAH and have a number of primitives larger than this will be split using a fallback strategy.
 
size_t min_leaf_size = 1
 Nodes containing less than this amount of primitives will not be split.
 
SplitHeuristic< Scalarsah
 SAH heuristic parameters that control how primitives are partitioned.
 

#include <bvh/v2/default_builder.h>

Inheritance diagram for bvh::v2::DefaultBuilder< Node >::Config:
[legend]

Member Data Documentation

◆ parallel_threshold

template<typename Node >
size_t bvh::v2::DefaultBuilder< Node >::Config::parallel_threshold = 1024

Threshold, in number of primitives, under which the builder operates in a single-thread.

Definition at line 29 of file default_builder.h.

◆ quality

template<typename Node >
Quality bvh::v2::DefaultBuilder< Node >::Config::quality = Quality::High

The quality of the BVH produced by the builder.

The higher the quality the faster the BVH is to traverse, but the slower it is to build.

Definition at line 26 of file default_builder.h.

Collaboration diagram for bvh::v2::DefaultBuilder< Node >::Config:
[legend]

The documentation for this struct was generated from the following file: