nCine::RenderBuffersManager::BufferSpecifications struct

Configuration of a buffer object for a given type.

Public variables

BufferTypes type
Buffer type the specification applies to.
BufferTarget target
Buffer binding target.
MapFlags mapFlags
Buffer mapping flags, or None when a host buffer is used instead of mapping.
BufferUsage usageFlags
Buffer usage hint.
std::uint32_t maxSize
Maximum size of a single buffer object in bytes (one ring section with persistent storage).
std::uint32_t alignment
Required alignment in bytes for sub-allocations.
bool persistent
Whether the buffer uses persistently mapped immutable storage with a section ring.