Blender V5.0
nanovdb::Mask< LOG2DIM > Struct Template Reference

#include <nanovdb.h>

Public Member Functions

ccl_device_inline_method bool isOff (const uint32_t n) const ccl_global

Public Attributes

ccl_static_constexpr uint32_t SIZE = 1U << (3 * LOG2DIM)
ccl_static_constexpr uint32_t WORD_COUNT = SIZE >> 6
uint64_t mWords [WORD_COUNT]

Detailed Description

template<uint32_t LOG2DIM>
struct nanovdb::Mask< LOG2DIM >

Definition at line 43 of file kernel/util/nanovdb.h.

Member Function Documentation

◆ isOff()

template<uint32_t LOG2DIM>
ccl_device_inline_method bool nanovdb::Mask< LOG2DIM >::isOff ( const uint32_t n) const
inline

Definition at line 48 of file kernel/util/nanovdb.h.

References ccl_device_inline_method, ccl_global, and mWords.

Member Data Documentation

◆ mWords

template<uint32_t LOG2DIM>
uint64_t nanovdb::Mask< LOG2DIM >::mWords[WORD_COUNT]

Definition at line 46 of file kernel/util/nanovdb.h.

Referenced by isOff().

◆ SIZE

template<uint32_t LOG2DIM>
ccl_static_constexpr uint32_t nanovdb::Mask< LOG2DIM >::SIZE = 1U << (3 * LOG2DIM)

Definition at line 44 of file kernel/util/nanovdb.h.

◆ WORD_COUNT

template<uint32_t LOG2DIM>
ccl_static_constexpr uint32_t nanovdb::Mask< LOG2DIM >::WORD_COUNT = SIZE >> 6

Definition at line 45 of file kernel/util/nanovdb.h.


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