#include <openvdb/Types.h>
#include <openvdb/io/Compression.h>
#include <openvdb/util/NodeMasks.h>
#include <tbb/atomic.h>
#include <tbb/spin_mutex.h>
#include <algorithm>
#include <cstddef>
#include <iostream>
#include <memory>
#include <type_traits>
Go to the source code of this file.
◆ data
◆ IsAtomic
Initial value:= ((sizeof(Atomic) == sizeof(NonAtomic))
&& (offsetof(Atomic,
i) == offsetof(NonAtomic,
i)))
tbb::atomic< Index32 > i
Definition: LeafBuffer.h:71
true
if LeafBuffer::mOutOfCore is atomic, false
otherwise
◆ mutex
◆ ptr
◆ size
constexpr size_t size = sizeof(Atomic) |
|
static |
The size of a LeafBuffer when LeafBuffer::mOutOfCore is atomic.