Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::GL::FrameBuffer Class Reference

#include "gui/opengl/gl.h"

Public Member Functions

 FrameBuffer ()
 
 ~FrameBuffer ()
 
 FrameBuffer (const FrameBuffer &)
 
 FrameBuffer (FrameBuffer &&t)
 
FrameBufferoperator= (FrameBuffer &&t)
 
 operator GLuint () const
 
void gen ()
 
void clear ()
 
void bind () const
 
void unbind () const
 
void attach_color (Texture &tex, size_t attachment) const
 
void draw_buffers (size_t first) const
 
void draw_buffers (size_t first, size_t second) const
 
void check () const
 

Protected Attributes

Context::Checker check_context
 
GLuint id
 

Detailed Description

Definition at line 325 of file gl.h.

Constructor & Destructor Documentation

◆ FrameBuffer() [1/3]

MR::GUI::GL::FrameBuffer::FrameBuffer ( )
inline

Definition at line 327 of file gl.h.

◆ ~FrameBuffer()

MR::GUI::GL::FrameBuffer::~FrameBuffer ( )
inline

Definition at line 328 of file gl.h.

◆ FrameBuffer() [2/3]

MR::GUI::GL::FrameBuffer::FrameBuffer ( const FrameBuffer )
inline

Definition at line 329 of file gl.h.

◆ FrameBuffer() [3/3]

MR::GUI::GL::FrameBuffer::FrameBuffer ( FrameBuffer &&  t)
inline

Definition at line 330 of file gl.h.

Member Function Documentation

◆ attach_color()

void MR::GUI::GL::FrameBuffer::attach_color ( Texture tex,
size_t  attachment 
) const
inline

Definition at line 366 of file gl.h.

◆ bind()

void MR::GUI::GL::FrameBuffer::bind ( ) const
inline

Definition at line 349 of file gl.h.

◆ check()

void MR::GUI::GL::FrameBuffer::check ( ) const
inline

Definition at line 383 of file gl.h.

◆ clear()

void MR::GUI::GL::FrameBuffer::clear ( )
inline

Definition at line 340 of file gl.h.

◆ draw_buffers() [1/2]

void MR::GUI::GL::FrameBuffer::draw_buffers ( size_t  first) const
inline

Definition at line 372 of file gl.h.

◆ draw_buffers() [2/2]

void MR::GUI::GL::FrameBuffer::draw_buffers ( size_t  first,
size_t  second 
) const
inline

Definition at line 377 of file gl.h.

◆ gen()

void MR::GUI::GL::FrameBuffer::gen ( )
inline

Definition at line 333 of file gl.h.

◆ operator GLuint()

MR::GUI::GL::FrameBuffer::operator GLuint ( ) const
inline

Definition at line 332 of file gl.h.

◆ operator=()

FrameBuffer & MR::GUI::GL::FrameBuffer::operator= ( FrameBuffer &&  t)
inline

Definition at line 331 of file gl.h.

◆ unbind()

void MR::GUI::GL::FrameBuffer::unbind ( ) const
inline

Definition at line 355 of file gl.h.

Member Data Documentation

◆ check_context

Context::Checker MR::GUI::GL::FrameBuffer::check_context
protected

Definition at line 389 of file gl.h.

◆ id

GLuint MR::GUI::GL::FrameBuffer::id
protected

Definition at line 390 of file gl.h.


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