Blender V5.0
BVHMixedSplit Class Reference

#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

Detailed Description

Definition at line 166 of file bvh/split.h.

Constructor & Destructor Documentation

◆ BVHMixedSplit() [1/2]

BVHMixedSplit::BVHMixedSplit ( )
default

◆ BVHMixedSplit() [2/2]

Member Function Documentation

◆ split()

__forceinline void BVHMixedSplit::split ( BVHBuild * builder,
BVHRange & left,
BVHRange & right,
const BVHRange & range )
inline

Member Data Documentation

◆ bounds

BoundBox BVHMixedSplit::bounds

Definition at line 177 of file bvh/split.h.

Referenced by BVHBuild::build_node(), and BVHMixedSplit().

◆ leafSAH

float BVHMixedSplit::leafSAH

Definition at line 171 of file bvh/split.h.

Referenced by BVHMixedSplit().

◆ minSAH

float BVHMixedSplit::minSAH

Definition at line 173 of file bvh/split.h.

Referenced by BVHMixedSplit(), and split().

◆ no_split

bool BVHMixedSplit::no_split

Definition at line 175 of file bvh/split.h.

Referenced by BVHMixedSplit().

◆ nodeSAH

float BVHMixedSplit::nodeSAH

Definition at line 172 of file bvh/split.h.

Referenced by BVHBuild::build_node(), and BVHMixedSplit().

◆ object

BVHObjectSplit BVHMixedSplit::object

Definition at line 168 of file bvh/split.h.

◆ spatial

BVHSpatialSplit BVHMixedSplit::spatial

Definition at line 169 of file bvh/split.h.

Referenced by BVHMixedSplit(), and split().


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