|
Blender V4.3
|
#include <bvh.h>
Inherited by BVH2, and BVHMulti.
Public Member Functions | |
| virtual | ~BVH () |
| virtual void | replace_geometry (const vector< Geometry * > &geometry, const vector< Object * > &objects) |
Static Public Member Functions | |
| static BVH * | create (const BVHParams ¶ms, const vector< Geometry * > &geometry, const vector< Object * > &objects, Device *device) |
Public Attributes | |
| BVHParams | params |
| vector< Geometry * > | geometry |
| vector< Object * > | objects |
Protected Member Functions | |
| BVH (const BVHParams ¶ms, const vector< Geometry * > &geometry, const vector< Object * > &objects) | |
|
static |
Definition at line 89 of file bvh.cpp.
References BVHParams::bvh_layout, BVH_LAYOUT_ALL, BVH_LAYOUT_BVH2, BVH_LAYOUT_EMBREE, BVH_LAYOUT_EMBREEGPU, BVH_LAYOUT_HIPRT, BVH_LAYOUT_METAL, BVH_LAYOUT_MULTI_EMBREEGPU, BVH_LAYOUT_MULTI_EMBREEGPU_EMBREE, BVH_LAYOUT_MULTI_HIPRT, BVH_LAYOUT_MULTI_HIPRT_EMBREE, BVH_LAYOUT_MULTI_METAL, BVH_LAYOUT_MULTI_METAL_EMBREE, BVH_LAYOUT_MULTI_OPTIX, BVH_LAYOUT_MULTI_OPTIX_EMBREE, BVH_LAYOUT_NONE, BVH_LAYOUT_OPTIX, LOG, NULL, and params.
Referenced by MultiDevice::build_bvh(), Geometry::compute_bvh(), and GeometryManager::device_update_bvh().
|
inlinevirtual |
Reimplemented in BVHMulti.
Definition at line 78 of file bvh/bvh.h.
References geometry, and objects.
Referenced by Geometry::compute_bvh(), and BVHMulti::replace_geometry().
Definition at line 69 of file bvh/bvh.h.
Referenced by MultiDevice::build_bvh(), and replace_geometry().
Definition at line 70 of file bvh/bvh.h.
Referenced by MultiDevice::build_bvh(), and replace_geometry().
| BVHParams BVH::params |
Definition at line 68 of file bvh/bvh.h.
Referenced by BVH2::build(), CPUDevice::build_bvh(), Device::build_bvh(), MultiDevice::build_bvh(), create(), BVH2::pack_instances(), BVH2::pack_nodes(), BVH2::refit_nodes(), and BVH2::refit_primitives().