Class · aurore
aurore::HeadlessVideoContext
On this page
#include <aurore/test/headless_platform.hpp>
class aurore::HeadlessVideoContext : public VideoContextConstructors 2
Functions 10
Called at the beginning of every frame to clear the window
Overrides VideoContext::clear
Called at the beginning of every frame to begin it.
Overrides VideoContext::beginFrame
Called at the end of every frame to end it (swap buffers...).
Overrides VideoContext::endFrame
Can be called by the application to reset the graphics state, in case there is a need to use the graphics API directly (for instance direct OpenGL calls).
Overrides VideoContext::resetState
Reads back the frame drawn so far (before endFrame() presents it): top-down rows of opaque RGBA pixels, at the drawable's size. Returns false where the driver cannot (only the OpenGL ones do for now).
Overrides VideoContext::readPixels
Also the functions of VideoContext (10).
Read from Aurore's headers by Doxygen at each build · library/include