Allolib  1.0
C++ Components For Interactive Multimedia
al::EasyFBO Class Reference

Encapsulates FBO, depth buffer, and texture. More...

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/graphics/al_EasyFBO.hpp>

Public Member Functions

void init (int width, int height, EasyFBOSetting const &setting=EasyFBOSetting{})
 
int width ()
 
int height ()
 
FBO & fbo ()
 
Texture & tex ()
 
Texture & depthTex ()
 
RBO & rbo ()
 
void begin ()
 
void end ()
 
void bind ()
 

Detailed Description

Encapsulates FBO, depth buffer, and texture.

simple fbo + color attachment + depth attachment wrapper. Only supports one color attaachment but user and attach more by getting fbo member object and calling attach functions manually

Definition at line 84 of file al_EasyFBO.hpp.


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