|
Blender V5.0
|
#include <split.h>
Public Member Functions | |
| BVHMixedSplit ()=default | |
| __forceinline | BVHMixedSplit (BVHBuild *builder, BVHSpatialStorage *storage, const BVHRange &range, vector< BVHReference > &references, const int level, const BVHUnaligned *unaligned_heuristic=nullptr, const Transform *aligned_space=nullptr) |
| __forceinline void | split (BVHBuild *builder, BVHRange &left, BVHRange &right, const BVHRange &range) |
Public Attributes | |
| BVHObjectSplit | object |
| BVHSpatialSplit | spatial |
| float | leafSAH |
| float | nodeSAH |
| float | minSAH |
| bool | no_split |
| BoundBox | bounds |
Definition at line 166 of file bvh/split.h.
|
default |
|
inline |
Definition at line 181 of file bvh/split.h.
References __forceinline, bounds, BVHRange::bounds(), BoundBox::intersect(), leafSAH, BVHParams::MAX_SPATIAL_DEPTH, min, minSAH, no_split, BVHParams::node_cost(), nodeSAH, BVHBuild::params, BVHParams::primitive_cost(), BVHBuild::range_within_max_leaf_size(), BoundBox::safe_area(), BVHRange::size(), spatial, BVHBuild::spatial_min_overlap, and BVHParams::use_spatial_split.
|
inline |
Definition at line 220 of file bvh/split.h.
References __forceinline, left, minSAH, BVHBuild::params, BVHRange::size(), spatial, and BVHParams::use_spatial_split.
Referenced by BVHBuild::build_node().
| BoundBox BVHMixedSplit::bounds |
Definition at line 177 of file bvh/split.h.
Referenced by BVHBuild::build_node(), and BVHMixedSplit().
| float BVHMixedSplit::leafSAH |
Definition at line 171 of file bvh/split.h.
Referenced by BVHMixedSplit().
| float BVHMixedSplit::minSAH |
Definition at line 173 of file bvh/split.h.
Referenced by BVHMixedSplit(), and split().
| bool BVHMixedSplit::no_split |
Definition at line 175 of file bvh/split.h.
Referenced by BVHMixedSplit().
| float BVHMixedSplit::nodeSAH |
Definition at line 172 of file bvh/split.h.
Referenced by BVHBuild::build_node(), and BVHMixedSplit().
| BVHObjectSplit BVHMixedSplit::object |
Definition at line 168 of file bvh/split.h.
| BVHSpatialSplit BVHMixedSplit::spatial |
Definition at line 169 of file bvh/split.h.
Referenced by BVHMixedSplit(), and split().