PFNC buffer class implementing a compressed pfnc buffer. More...
#include <cvb/compressed_pfnc_buffer.hpp>
Inherits PFNCBuffer.
Static Public Member Functions | |
static CompressedPFNCBufferPtr | FromHandle (HandleGuard< BufferBase > &&guard) |
Creates a compressed pfnc buffer from a classic API handle. | |
![]() | |
static PFNCBufferPtr | FromHandle (HandleGuard< BufferBase > &&guard) |
Creates a pfnc buffer from a classic API handle. | |
Additional Inherited Members | |
![]() | |
int | PFNCValue () const noexcept |
Gets the PFNC value (format identifier) of this buffer. | |
int | Rank () const noexcept |
Gets the number of dimensions of this buffer. | |
int | Length (int dimension) const |
Gets the number of elements in the given Dimension. | |
std::intptr_t | Increment (int dimension) const |
Gets the increment to the next element in the given Dimension. | |
![]() | |
void * | Handle () const noexcept |
Classic API buffer handle. | |
std::uint8_t * | BasePtr () const noexcept |
Gets the pointer to the start of this buffer. | |
size_t | Size () const noexcept |
Gets the actual size of this buffer in bytes. | |
size_t | Capacity () const noexcept |
Gets the allocated size of this buffer in bytes. | |
PFNC buffer class implementing a compressed pfnc buffer.