OpenVDB 13.1.0
Loading...
Searching...
No Matches
BufferHasDestroy< BufferT, typename > Struct Template Reference

Detects whether a buffer provides destroy(), the cuda::Buffer spelling for releasing its storage. Handle reset() dispatches to it when present and falls back to the legacy clear() otherwise. More...

#include <nanovdb/HostBuffer.h>

Static Public Attributes

static constexpr bool value = false

Detailed Description

template<typename BufferT, typename = void>
struct nanovdb::BufferHasDestroy< BufferT, typename >

Detects whether a buffer provides destroy(), the cuda::Buffer spelling for releasing its storage. Handle reset() dispatches to it when present and falls back to the legacy clear() otherwise.

Member Data Documentation

◆ value

template<typename BufferT, typename = void>
bool value = false
staticconstexpr