Public Member Functions | Private Attributes | List of all members
rs2::fbo Class Reference

#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

Detailed Description

Definition at line 305 of file opengl3.h.

Constructor & Destructor Documentation

fbo::fbo ( int  w,
int  h 

Definition at line 602 of file opengl3.cpp.

fbo::~fbo ( )

Definition at line 665 of file opengl3.cpp.

Member Function Documentation

void fbo::bind ( )

Definition at line 635 of file opengl3.cpp.

void fbo::createDepthBufferAttachment ( )

Definition at line 655 of file opengl3.cpp.

void fbo::createDepthTextureAttachment ( uint32_t  texture)

Definition at line 624 of file opengl3.cpp.

void fbo::createTextureAttachment ( uint32_t  texture)

Definition at line 612 of file opengl3.cpp.

uint32_t rs2::fbo::get ( ) const

Definition at line 328 of file opengl3.h.

int rs2::fbo::get_height ( ) const

Definition at line 327 of file opengl3.h.

std::string fbo::get_status ( )

Definition at line 671 of file opengl3.cpp.

int rs2::fbo::get_width ( ) const

Definition at line 326 of file opengl3.h.

void rs2::fbo::set_dims ( int  w,
int  h 

Definition at line 324 of file opengl3.h.

void fbo::unbind ( )

Definition at line 647 of file opengl3.cpp.

Member Data Documentation

uint32_t rs2::fbo::_db = 0

Definition at line 331 of file opengl3.h.

int rs2::fbo::_h

Definition at line 332 of file opengl3.h.

uint32_t rs2::fbo::_id

Definition at line 330 of file opengl3.h.

int32_t rs2::fbo::_viewport[4]

Definition at line 333 of file opengl3.h.

int rs2::fbo::_w

Definition at line 332 of file opengl3.h.

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

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40