JNGL
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 32 of file framebuffer.hpp.


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