Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
BvhParams.h
Go to the documentation of this file.
1#pragma once
2
3#include <Common/primitive_type.h>
4
5#include <cstddef>
6
7namespace ph::math
8{
9
18
19class BvhParams final
20{
21public:
23 uint32 maxNodeItems = 1;
24
26 uint32 numSahBuckets = 64;
27
29 float32 traversalCost = 1.0f / 8.0f;
30
32 float32 interactCost = 1.0f;
33
36};
37
38}// end namespace ph::math
Definition BvhParams.h:20
uint32 numSahBuckets
Definition BvhParams.h:26
float32 interactCost
Definition BvhParams.h:32
float32 traversalCost
Definition BvhParams.h:29
EBvhNodeSplitMethod splitMethod
Definition BvhParams.h:35
uint32 maxNodeItems
Definition BvhParams.h:23
Math functions and utilities.
Definition TransformInfo.h:10
EBvhNodeSplitMethod
Definition BvhParams.h:11