NTrace
GPU ray tracing framework
|
Structure holding ray statistics. Also provides print to the console. These statistics are used in a CPU trace method provided by this class. More...
#include <BVH.hpp>
Public Member Functions | |
RayStats () | |
Constructor. More... | |
void | clear () |
Resets the statistics to the default values. More... | |
void | print () const |
Prints ray statistics to the console. More... | |
Public Attributes | |
S32 | numRays |
Total number of rays. More... | |
S32 | numTriangleTests |
Total number of ray-triangle tests. More... | |
S32 | numNodeTests |
Total number of ray-node tests. More... | |
S32 | numTreelets |
Total number of traversal steps. More... | |
Platform | platform |
Platform settings of the BVH. Set by whoever sets the stats. More... | |
Structure holding ray statistics. Also provides print to the console. These statistics are used in a CPU trace method provided by this class.
S32 FW::RayStats::numNodeTests |
S32 FW::RayStats::numTreelets |
S32 FW::RayStats::numTriangleTests |
Platform FW::RayStats::platform |