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

Detects whether a buffer's elements are byte-sized. Buffers that expose no ElementType (e.g. HostBuffer) address raw bytes by definition, so the primary defaults to true. More...

#include <nanovdb/HostBuffer.h>

Static Public Attributes

static constexpr bool value = true

Detailed Description

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

Detects whether a buffer's elements are byte-sized. Buffers that expose no ElementType (e.g. HostBuffer) address raw bytes by definition, so the primary defaults to true.

Member Data Documentation

◆ value

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