AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
gl::Framebuffer Class Reference

Classes

class  IRenderTarget
 

Public Member Functions

 Framebuffer (Framebuffer &&rhs) noexcept
 
void bind ()
 
void bindForRead ()
 
void bindForWrite ()
 
void resize (glm::u32vec2 newSize)
 
std::uint32_t supersamlingRatio () const noexcept
 
void setSupersamplingRatio (std::uint32_t ratio) noexcept
 
glm::u32vec2 supersampledSize () const noexcept
 
glm::u32vec2 size () const noexcept
 
 operator bool () const
 
uint32_t getHandle () const
 
void attach (_< IRenderTarget > renderTarget, GLenum attachmentType)
 
Framebufferoperator= (Framebuffer &&rhs) noexcept
 
void bindViewport ()
 
- Public Member Functions inherited from aui::noncopyable
 noncopyable (const noncopyable &)=delete
 
noncopyableoperator= (const noncopyable &)=delete
 

Static Public Member Functions

static void unbind ()
 
static gl::Framebuffercurrent ()
 

Static Public Attributes

static constexpr auto DEFAULT_FB = 0
 

The documentation for this class was generated from the following files:
Inheritance diagram for gl::Framebuffer:
Collaboration diagram for gl::Framebuffer: