nCine::RHI::BufferRange struct

Locates a sub-range within a buffer object, together with its mapped memory.

Constructors, destructors, conversion operators

BufferRange()

Public variables

Buffer* object
Buffer object the range belongs to.
std::uint32_t size
Size of the range in bytes.
std::uint32_t offset
Byte offset of the range within the buffer object.
std::uint8_t* mapBase
Base pointer of the mapped (or host) buffer memory.