Blender V5.0
PackedBVH Struct Reference

#include <bvh.h>

Public Member Functions

 PackedBVH ()

Public Attributes

array< int4nodes
array< int4leaf_nodes
array< int > object_node
array< int > prim_type
array< uintprim_visibility
array< int > prim_index
array< int > prim_object
array< float2prim_time
int root_index

Detailed Description

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

Constructor & Destructor Documentation

◆ PackedBVH()

PackedBVH::PackedBVH ( )
inline

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

References root_index.

Member Data Documentation

◆ leaf_nodes

array<int4> PackedBVH::leaf_nodes

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

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

◆ nodes

array<int4> PackedBVH::nodes

Definition at line 39 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 43 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh().

◆ prim_index

array<int> PackedBVH::prim_index

Definition at line 50 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 52 of file bvh/bvh.h.

Referenced by GeometryManager::device_update_bvh().

◆ prim_time

array<float2> PackedBVH::prim_time

Definition at line 54 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 45 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 47 of file bvh/bvh.h.

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

◆ root_index

int PackedBVH::root_index

Definition at line 57 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: