Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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 171 of file bvh/split.h.

Constructor & Destructor Documentation

◆ BVHMixedSplit() [1/2]

BVHMixedSplit::BVHMixedSplit ( )
inline

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

◆ BVHMixedSplit() [2/2]

__forceinline BVHMixedSplit::BVHMixedSplit ( BVHBuild builder,
BVHSpatialStorage storage,
const BVHRange range,
vector< BVHReference > &  references,
int  level,
const BVHUnaligned unaligned_heuristic = NULL,
const Transform aligned_space = NULL 
)
inline

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

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

◆ leafSAH

float BVHMixedSplit::leafSAH

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

Referenced by BVHMixedSplit().

◆ minSAH

float BVHMixedSplit::minSAH

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

Referenced by BVHMixedSplit(), and split().

◆ no_split

bool BVHMixedSplit::no_split

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

Referenced by BVHMixedSplit().

◆ nodeSAH

float BVHMixedSplit::nodeSAH

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

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

◆ object

BVHObjectSplit BVHMixedSplit::object

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

◆ spatial

BVHSpatialSplit BVHMixedSplit::spatial

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

Referenced by BVHMixedSplit(), and split().


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