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

◆ nodes

◆ object_node

array<int> PackedBVH::object_node

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

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

◆ prim_index

◆ prim_object

◆ prim_time

array<float2> PackedBVH::prim_time

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

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

◆ prim_type

◆ prim_visibility

array<uint> PackedBVH::prim_visibility

◆ root_index

int PackedBVH::root_index

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