Struct BVHStats

Synopsis

#include <Source/Falcor/Experimental/Scene/Lights/LightBVH.h>

struct BVHStats

Description

No description yet.

Source

Lines 93-104 in Source/Falcor/Experimental/Scene/Lights/LightBVH.h.

struct BVHStats
{
    std::vector<uint32_t> nodeCountPerLevel;         ///< For each level in the tree, how many nodes are there.
    std::vector<uint32_t> leafCountPerTriangleCount; ///< For each amount of triangles, how many leaf nodes contain that many triangles.
    uint32_t treeHeight = 0;                         ///< Number of edges on the longest path between the root node and a leaf.
    uint32_t minDepth = 0;                           ///< Number of edges on the shortest path between the root node and a leaf.
    uint32_t byteSize = 0;                           ///< Number of bytes occupied by the BVH.
    uint32_t internalNodeCount = 0;                  ///< Number of internal nodes inside the BVH.
    uint32_t leafNodeCount = 0;                      ///< Number of leaf nodes inside the BVH.
    uint32_t triangleCount = 0;                      ///< Number of triangles inside the BVH.
};





Add Discussion as Guest

Log in to DocsForge