cubos::core::gl::impl::PixelPackBuffer class

Abstract pixel pack buffer.

Public functions

auto map() -> const void* pure virtual
Maps the pixel buffer to a region in memory. Must be matched with a call to unmap().
void unmap() pure virtual
Unmaps the pixel buffer.

Function documentation

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

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

Returns Pointer to the memory region.