NTrace
GPU ray tracing framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FW::BVH::BuildParams Struct Reference

Stucture holding the BVH build parameters. More...

#include <BVH.hpp>

Public Member Functions

 BuildParams (void)
 Constructor. More...
 
U32 computeHash (void) const
 Computes hash of the build parameters. More...
 

Public Attributes

Statsstats
 Statistics. If NULL, no statistics are gathered. More...
 
bool enablePrints
 Flag whether to enable prints about build progress. More...
 
F32 splitAlpha
 Spatial split area threshold. More...
 
F32 osahWeight
 Weighting factor for OSAH construction. More...
 
String accelerator
 The name of the acceleration data structure method for ray tracing. More...
 
Array< AABBempty_boxes
 Information about boxes with no triangles inside. More...
 
Buffervisibility
 Visibility buffer for the CPU renderer. More...
 
String logDirectory
 Directory where the log file will be saved. More...
 
String buildName
 Build name. More...
 
int cameraIdx
 Camera index. More...
 
bool twoTrees
 Flag whether to build BVH from two separate trees. More...
 

Detailed Description

Stucture holding the BVH build parameters.

Definition at line 109 of file BVH.hpp.

Constructor & Destructor Documentation

FW::BVH::BuildParams::BuildParams ( void  )
inline

Constructor.

Definition at line 126 of file BVH.hpp.

Member Function Documentation

U32 FW::BVH::BuildParams::computeHash ( void  ) const
inline

Computes hash of the build parameters.

Returns
Hashed build parameters.

Definition at line 142 of file BVH.hpp.

Member Data Documentation

String FW::BVH::BuildParams::accelerator

The name of the acceleration data structure method for ray tracing.

Definition at line 115 of file BVH.hpp.

String FW::BVH::BuildParams::buildName

Build name.

Definition at line 119 of file BVH.hpp.

int FW::BVH::BuildParams::cameraIdx

Camera index.

Definition at line 120 of file BVH.hpp.

Array<AABB> FW::BVH::BuildParams::empty_boxes

Information about boxes with no triangles inside.

Definition at line 116 of file BVH.hpp.

bool FW::BVH::BuildParams::enablePrints

Flag whether to enable prints about build progress.

Definition at line 112 of file BVH.hpp.

String FW::BVH::BuildParams::logDirectory

Directory where the log file will be saved.

Definition at line 118 of file BVH.hpp.

F32 FW::BVH::BuildParams::osahWeight

Weighting factor for OSAH construction.

Definition at line 114 of file BVH.hpp.

F32 FW::BVH::BuildParams::splitAlpha

Spatial split area threshold.

Definition at line 113 of file BVH.hpp.

Stats* FW::BVH::BuildParams::stats

Statistics. If NULL, no statistics are gathered.

Definition at line 111 of file BVH.hpp.

bool FW::BVH::BuildParams::twoTrees

Flag whether to build BVH from two separate trees.

Definition at line 121 of file BVH.hpp.

Buffer* FW::BVH::BuildParams::visibility

Visibility buffer for the CPU renderer.

Definition at line 117 of file BVH.hpp.


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