Public Member Functions | Private Attributes | List of all members
texture Class Reference

The texture class. More...

#include <example.hpp>

Public Member Functions

GLuint get_gl_handle ()
 
void render (const rs2::frame &frame, const rect &rect, float alpha=1.f)
 
void show (const rect &r, float alpha=1.f) const
 
void upload (const rs2::video_frame &frame)
 

Private Attributes

GLuint _gl_handle = 0
 
imu_renderer _imu_render
 
pose_renderer _pose_render
 
int _stream_index {}
 
rs2_stream _stream_type = RS2_STREAM_ANY
 

Detailed Description

The texture class.

Definition at line 402 of file example.hpp.

Member Function Documentation

GLuint texture::get_gl_handle ( )
inline

Definition at line 469 of file example.hpp.

void texture::render ( const rs2::frame frame,
const rect rect,
float  alpha = 1.f 
)
inline

Definition at line 471 of file example.hpp.

void texture::show ( const rect r,
float  alpha = 1.f 
) const
inline

Definition at line 448 of file example.hpp.

void texture::upload ( const rs2::video_frame frame)
inline

Definition at line 406 of file example.hpp.

Member Data Documentation

GLuint texture::_gl_handle = 0
private

Definition at line 491 of file example.hpp.

imu_renderer texture::_imu_render
private

Definition at line 494 of file example.hpp.

pose_renderer texture::_pose_render
private

Definition at line 495 of file example.hpp.

int texture::_stream_index {}
private

Definition at line 493 of file example.hpp.

rs2_stream texture::_stream_type = RS2_STREAM_ANY
private

Definition at line 492 of file example.hpp.


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


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