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 ( )

Definition at line 469 of file example.hpp.

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

Definition at line 471 of file example.hpp.

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

Definition at line 448 of file example.hpp.

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

Definition at line 406 of file example.hpp.

Member Data Documentation

GLuint texture::_gl_handle = 0

Definition at line 491 of file example.hpp.

imu_renderer texture::_imu_render

Definition at line 494 of file example.hpp.

pose_renderer texture::_pose_render

Definition at line 495 of file example.hpp.

int texture::_stream_index {}

Definition at line 493 of file example.hpp.

rs2_stream texture::_stream_type = RS2_STREAM_ANY

Definition at line 492 of file example.hpp.

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

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