Blender V4.3
BVHMixedSplit Class Reference

#include <split.h>

Public Member Functions

 BVHMixedSplit ()
 
__forceinline BVHMixedSplit (BVHBuild *builder, BVHSpatialStorage *storage, const BVHRange &range, vector< BVHReference > &references, int level, const BVHUnaligned *unaligned_heuristic=NULL, const Transform *aligned_space=NULL)
 
__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 170 of file bvh/split.h.

Constructor & Destructor Documentation

◆ BVHMixedSplit() [1/2]

BVHMixedSplit::BVHMixedSplit ( )
inline

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

◆ 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 181 of file bvh/split.h.

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

◆ leafSAH

float BVHMixedSplit::leafSAH

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

Referenced by BVHMixedSplit().

◆ minSAH

float BVHMixedSplit::minSAH

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

Referenced by BVHMixedSplit(), and split().

◆ no_split

bool BVHMixedSplit::no_split

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

Referenced by BVHMixedSplit().

◆ nodeSAH

float BVHMixedSplit::nodeSAH

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

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

◆ object

BVHObjectSplit BVHMixedSplit::object

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

◆ spatial

BVHSpatialSplit BVHMixedSplit::spatial

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

Referenced by BVHMixedSplit(), and split().


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