nCine::RenderBuffersManager::BufferSpecifications struct

Configuration of a buffer object for a given type.

Public variables

BufferTypes type
Buffer type the specification applies to.
GLenum target
OpenGL binding target.
GLenum mapFlags
Buffer mapping flags, or zero when a host buffer is used instead of mapping.
GLenum usageFlags
Buffer usage hint.
std::uint32_t maxSize
Maximum size of a single buffer object in bytes.
GLuint alignment
Required alignment in bytes for sub-allocations.