cubos::core::gl::impl::IndexBuffer class

Abstract index buffer.

Public functions

auto map() -> void* pure virtual
Maps the index buffer to a region in memory. Must be matched with a call to unmap().
void unmap() pure virtual
Unmaps the index buffer, updating it with data written to the mapped region.

Function documentation

void* cubos::core::gl::impl::IndexBuffer::map() pure virtual

Maps the index buffer to a region in memory. Must be matched with a call to unmap().

Returns Pointer to the memory region.