#include <opengl3.h>
Public Member Functions | |
void | bind () |
void | createDepthBufferAttachment () |
void | createDepthTextureAttachment (uint32_t texture) |
void | createTextureAttachment (uint32_t texture) |
fbo (int w, int h) | |
uint32_t | get () const |
int | get_height () const |
std::string | get_status () |
int | get_width () const |
void | set_dims (int w, int h) |
void | unbind () |
~fbo () | |
Private Attributes | |
uint32_t | _db = 0 |
int | _h |
uint32_t | _id |
int32_t | _viewport [4] |
int | _w |
fbo::fbo | ( | int | w, |
int | h | ||
) |
Definition at line 602 of file opengl3.cpp.
fbo::~fbo | ( | ) |
Definition at line 665 of file opengl3.cpp.
void fbo::bind | ( | ) |
Definition at line 635 of file opengl3.cpp.
void fbo::createDepthBufferAttachment | ( | ) |
Definition at line 655 of file opengl3.cpp.
Definition at line 624 of file opengl3.cpp.
Definition at line 612 of file opengl3.cpp.
std::string fbo::get_status | ( | ) |
Definition at line 671 of file opengl3.cpp.
void fbo::unbind | ( | ) |
Definition at line 647 of file opengl3.cpp.