CVB++ 15.0
Loading...
Searching...
No Matches
CompressedPFNCBuffer Class Reference

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 Public Member Functions inherited from PFNCBuffer
static PFNCBufferPtr FromHandle (HandleGuard< BufferBase > &&guard)
 Creates a pfnc buffer from a classic API handle.
 

Additional Inherited Members

- Public Member Functions inherited from PFNCBuffer
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.
 
- Public Member Functions inherited from BufferBase
void * Handle () const noexcept
 Classic API buffer handle.
 
std::uint8_tBasePtr () 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.
 

Detailed Description

PFNC buffer class implementing a compressed pfnc buffer.