Blender V5.0
BVHStackEntry Struct Reference

#include <bvh2.h>

Public Member Functions

 BVHStackEntry (const BVHNode *n=nullptr, const int i=0)
int encodeIdx () const

Public Attributes

const BVHNodenode
int idx

Detailed Description

Definition at line 26 of file bvh2.h.

Constructor & Destructor Documentation

◆ BVHStackEntry()

CCL_NAMESPACE_BEGIN BVHStackEntry::BVHStackEntry ( const BVHNode * n = nullptr,
const int i = 0 )

Definition at line 25 of file bvh2.cpp.

References i, idx, and node.

Member Function Documentation

◆ encodeIdx()

int BVHStackEntry::encodeIdx ( ) const

Definition at line 27 of file bvh2.cpp.

References idx, and node.

Referenced by BVH2::pack_aligned_inner(), and BVH2::pack_unaligned_inner().

Member Data Documentation

◆ idx

int BVHStackEntry::idx

Definition at line 28 of file bvh2.h.

Referenced by BVHStackEntry(), and encodeIdx().

◆ node

const BVHNode* BVHStackEntry::node

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