OpenVDB
9.0.1
|
#include <nanovdb/examples/benchmark/DenseGrid.h>
Public Member Functions | |
DenseGridHandle (BufferT &&resources) | |
DenseGridHandle ()=default | |
DenseGridHandle (const DenseGridHandle &)=delete | |
Disallow copy-construction. More... | |
DenseGridHandle & | operator= (const DenseGridHandle &)=delete |
Disallow copy assignment operation. More... | |
DenseGridHandle & | operator= (DenseGridHandle &&other) noexcept |
Move copy assignment operation. More... | |
DenseGridHandle (DenseGridHandle &&other) noexcept | |
Move copy-constructor. More... | |
~DenseGridHandle () | |
Default destructor. More... | |
void | reset () |
BufferT & | buffer () |
const BufferT & | buffer () const |
uint8_t * | data () |
Returns a non-const pointer to the data. More... | |
const uint8_t * | data () const |
Returns a const pointer to the data. More... | |
uint64_t | size () const |
Returns the size in bytes of the raw memory buffer managed by this DenseGridHandle's allocator. More... | |
template<typename ValueT > | |
const DenseGrid< ValueT > * | grid () const |
Returns a const pointer to the NanoVDB grid encoded in the DenseGridHandle. More... | |
template<typename ValueT > | |
DenseGrid< ValueT > * | grid () |
template<typename ValueT , typename U = BufferT> | |
std::enable_if< BufferTraits< U >::hasDeviceDual, const DenseGrid< ValueT > * >::type | deviceGrid () const |
template<typename U = BufferT> | |
std::enable_if< BufferTraits< U >::hasDeviceDual, void >::type | deviceUpload (void *stream=nullptr, bool sync=true) |
template<typename U = BufferT> | |
std::enable_if< BufferTraits< U >::hasDeviceDual, void >::type | deviceDownload (void *stream=nullptr, bool sync=true) |
|
inline |
|
default |
|
delete |
Disallow copy-construction.
|
inlinenoexcept |
Move copy-constructor.
|
inline |
Default destructor.
|
inline |
|
inline |
|
inline |
Returns a non-const pointer to the data.
|
inline |
Returns a const pointer to the data.
|
inline |
|
inline |
|
inline |
|
inline |
Returns a const pointer to the NanoVDB grid encoded in the DenseGridHandle.
|
inline |
|
delete |
Disallow copy assignment operation.
|
inlinenoexcept |
Move copy assignment operation.
|
inline |
|
inline |
Returns the size in bytes of the raw memory buffer managed by this DenseGridHandle's allocator.