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
inline

Definition at line 328 of file opengl3.h.

int rs2::fbo::get_height ( ) const
inline

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
inline

Definition at line 326 of file opengl3.h.

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

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
private

Definition at line 331 of file opengl3.h.

int rs2::fbo::_h
private

Definition at line 332 of file opengl3.h.

uint32_t rs2::fbo::_id
private

Definition at line 330 of file opengl3.h.

int32_t rs2::fbo::_viewport[4]
private

Definition at line 333 of file opengl3.h.

int rs2::fbo::_w
private

Definition at line 332 of file opengl3.h.


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


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