UmbraElementBuffer struct

A structure describing a buffer of elements stored in memory.

Public variables

void* ptr
The pointer to the first element in the buffer.
uint32_t elementCapacity
The maximum number of elements that can be stored in the buffer.
uint32_t elementByteSize
The size of a single element, in bytes.
uint32_t elementStride
The stride between successive elements, in bytes.
UmbraBufferFlags flags
The bitmask of UmbraBufferFlagBits.

Variable details

UmbraBufferFlags UmbraElementBuffer::flags

The bitmask of UmbraBufferFlagBits.

Can be zero.