Definition at line 47 of file binned_sah_builder.h.
Public Member Functions | |
Bin ()=default | |
BVH_ALWAYS_INLINE void | add (const BBox &bbox, size_t prim_count=1) |
BVH_ALWAYS_INLINE void | add (const Bin &bin) |
BVH_ALWAYS_INLINE Scalar | get_cost (const SplitHeuristic< Scalar > &sah) const |
Public Attributes | |
BBox | bbox = BBox::make_empty() |
size_t | prim_count = 0 |
#include <bvh/v2/binned_sah_builder.h>
|
default |
|
inline |
Definition at line 57 of file binned_sah_builder.h.
|
inline |
Definition at line 62 of file binned_sah_builder.h.
|
inline |
Definition at line 53 of file binned_sah_builder.h.
BBox bvh::v2::BinnedSahBuilder< Node, BinCount >::Bin::bbox = BBox::make_empty() |
Definition at line 48 of file binned_sah_builder.h.
size_t bvh::v2::BinnedSahBuilder< Node, BinCount >::Bin::prim_count = 0 |
Definition at line 49 of file binned_sah_builder.h.