gtsam_points
Loading...
Searching...
No Matches
Public Member Functions | List of all members
glk::FrameBuffer Class Reference

#include <frame_buffer.hpp>

Public Member Functions

 FrameBuffer (const Eigen::Vector2i &size, int num_color_buffers=1, bool use_depth=true)
 
 ~FrameBuffer ()
 
void bind ()
 
void unbind () const
 
int num_color_buffers () const
 
glk::Textureadd_color_buffer (int layout, GLuint internal_format, GLuint format, GLuint type)
 
glk::Textureadd_depth_buffer (GLuint internal_format=GL_DEPTH_COMPONENT32F, GLuint format=GL_DEPTH_COMPONENT, GLuint type=GL_FLOAT)
 
void bind_ext_depth_buffer (const glk::Texture &depth_texture)
 
Eigen::Vector2i size () const
 
void set_size (const Eigen::Vector2i &size)
 
const Texturecolor () const
 
const Texturecolor (int i) const
 
const Texturedepth () const
 
Texturecolor ()
 
Texturecolor (int i)
 
Texturedepth ()
 

Constructor & Destructor Documentation

◆ FrameBuffer()

glk::FrameBuffer::FrameBuffer ( const Eigen::Vector2i &  size,
int  num_color_buffers = 1,
bool  use_depth = true 
)

◆ ~FrameBuffer()

glk::FrameBuffer::~FrameBuffer ( )

Member Function Documentation

◆ add_color_buffer()

glk::Texture & glk::FrameBuffer::add_color_buffer ( int  layout,
GLuint  internal_format,
GLuint  format,
GLuint  type 
)

◆ add_depth_buffer()

glk::Texture & glk::FrameBuffer::add_depth_buffer ( GLuint  internal_format = GL_DEPTH_COMPONENT32F,
GLuint  format = GL_DEPTH_COMPONENT,
GLuint  type = GL_FLOAT 
)

◆ bind()

void glk::FrameBuffer::bind ( )

◆ bind_ext_depth_buffer()

void glk::FrameBuffer::bind_ext_depth_buffer ( const glk::Texture depth_texture)

◆ color() [1/4]

Texture & glk::FrameBuffer::color ( )

◆ color() [2/4]

const Texture & glk::FrameBuffer::color ( ) const

◆ color() [3/4]

Texture & glk::FrameBuffer::color ( int  i)

◆ color() [4/4]

const Texture & glk::FrameBuffer::color ( int  i) const

◆ depth() [1/2]

Texture & glk::FrameBuffer::depth ( )

◆ depth() [2/2]

const Texture & glk::FrameBuffer::depth ( ) const

◆ num_color_buffers()

int glk::FrameBuffer::num_color_buffers ( ) const

◆ set_size()

void glk::FrameBuffer::set_size ( const Eigen::Vector2i &  size)

◆ size()

Eigen::Vector2i glk::FrameBuffer::size ( ) const

◆ unbind()

void glk::FrameBuffer::unbind ( ) const

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