JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FrameBuffer::Context Struct Reference

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
 
Contextoperator= (const Context &)=delete
 
 Context (Context &&) noexcept
 
Contextoperator= (Context &&) noexcept
 
void clear ()
 Clear the framebuffer with a transparent background.
 
void clear (Color color)
 Clear the framebuffer with color.
 

Detailed Description

Lifetime object when the FrameBuffer is in use.

Definition at line 53 of file FrameBuffer.hpp.


The documentation for this struct was generated from the following file: