JNGL
Easy to use cross-platform 2D game library
|
Lifetime object when the FrameBuffer is in use. More...
#include <jngl/FrameBuffer.hpp>
Public Member Functions | |
Context (std::function< void()> resetCallback) | |
Context (const Context &)=delete | |
Context & | operator= (const Context &)=delete |
Context (Context &&) noexcept | |
Context & | operator= (Context &&) noexcept |
void | clear () |
Clear the framebuffer with a transparent background. | |
void | clear (Rgb color) |
Clear the framebuffer with color. | |
Lifetime object when the FrameBuffer is in use.
Definition at line 53 of file FrameBuffer.hpp.