class
#include <core/gl/render_device.hpp>
PixelPackBuffer Abstract pixel pack buffer.
Public functions
- void copyTo(void* data, std::size_t offset, std::size_t size) pure virtual
- Copies a region of the buffer to CPU memory.
Function documentation
void cubos:: core:: gl:: impl:: PixelPackBuffer:: copyTo(void* data,
std::size_t offset,
std::size_t size) pure virtual
Copies a region of the buffer to CPU memory.
Parameters | |
---|---|
data | Pointer to the destination memory. |
offset | Offset in the buffer to start copying from. |
size | Size of the region to copy. |