libigl v2.5.0
Loading...
Searching...
No Matches
init_render_to_texture.h File Reference
#include "../igl_inline.h"
#include "gl.h"
#include <cstdlib>
#include "init_render_to_texture.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::opengl
 

Functions

void igl::opengl::init_render_to_texture (const size_t width, const size_t height, const bool depth_texture, GLuint &tex_id, GLuint &fbo_id, GLuint &d_id)
 Create a frame buffer that renders color to a RGBA texture a depth to a "render buffer".
 
void igl::opengl::init_render_to_texture (const size_t width, const size_t height, GLuint &tex_id, GLuint &fbo_id, GLuint &dfbo_id)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.