Blender V4.3
PackedBVH Struct Reference

#include <bvh.h>

Public Member Functions

 PackedBVH ()

Public Attributes

array< int4nodes
array< int4leaf_nodes
array< intobject_node
array< intprim_type
array< uintprim_visibility
array< intprim_index
array< intprim_object
array< float2prim_time
int root_index

Detailed Description

Definition at line 35 of file bvh/bvh.h.

Constructor & Destructor Documentation

◆ PackedBVH()

PackedBVH::PackedBVH ( )
inline

Definition at line 58 of file bvh/bvh.h.

References root_index.

Member Data Documentation

◆ leaf_nodes

array<int4> PackedBVH::leaf_nodes

Definition at line 40 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), and BVH2::pack_instances().

◆ nodes

array<int4> PackedBVH::nodes

Definition at line 38 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), and BVH2::pack_instances().

◆ object_node

array<int> PackedBVH::object_node

Definition at line 42 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh().

◆ prim_index

array<int> PackedBVH::prim_index

Definition at line 49 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), and BVH2::pack_instances().

◆ prim_object

array<int> PackedBVH::prim_object

Definition at line 51 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh().

◆ prim_time

array<float2> PackedBVH::prim_time

Definition at line 53 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), and BVH2::pack_instances().

◆ prim_type

array<int> PackedBVH::prim_type

Definition at line 44 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), and BVH2::pack_instances().

◆ prim_visibility

array<uint> PackedBVH::prim_visibility

Definition at line 46 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), and BVH2::pack_instances().

◆ root_index

int PackedBVH::root_index

Definition at line 56 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh(), BVH2::pack_instances(), and PackedBVH().


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