Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::math::BvhParams Class Referencefinal

#include <BvhParams.h>

Public Attributes

uint32 maxNodeItems = 1
 
uint32 numSahBuckets = 64
 
float32 traversalCost = 1.0f / 8.0f
 
float32 interactCost = 1.0f
 
EBvhNodeSplitMethod splitMethod = EBvhNodeSplitMethod::SAH_Buckets_OneAxis
 

Member Data Documentation

◆ interactCost

float32 ph::math::BvhParams::interactCost = 1.0f

Cost for interacting with an item in a node.

◆ maxNodeItems

uint32 ph::math::BvhParams::maxNodeItems = 1

Maximum number of items in a leaf node.

◆ numSahBuckets

uint32 ph::math::BvhParams::numSahBuckets = 64

Number of buckets to use for bucket-based SAH splitting.

◆ splitMethod

The algorithm for splitting a node.

◆ traversalCost

float32 ph::math::BvhParams::traversalCost = 1.0f / 8.0f

Cost for traversing a node.


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