Public Member Functions | List of all members
rs2::gl::gpu_frame Class Reference

#include <rs_processing_gl.hpp>

Inheritance diagram for rs2::gl::gpu_frame:
Inheritance graph
[legend]

Public Member Functions

uint32_t get_texture_id (unsigned int id=0) const
 
 gpu_frame (const frame &f)
 
- Public Member Functions inherited from rs2::frame
frame apply_filter (filter_interface &filter)
 
template<class T >
as () const
 
 frame ()
 
 frame (rs2_frame *ref)
 
 frame (frame &&other) noexcept
 
 frame (const frame &other)
 
rs2_frameget () const
 
const voidget_data () const
 
const int get_data_size () const
 
rs2_metadata_type get_frame_metadata (rs2_frame_metadata_value frame_metadata) const
 
unsigned long long get_frame_number () const
 
rs2_timestamp_domain get_frame_timestamp_domain () const
 
stream_profile get_profile () const
 
rs2_sensorget_sensor ()
 
double get_timestamp () const
 
template<class T >
bool is () const
 
void keep ()
 
 operator bool () const
 
 operator rs2_frame * ()
 
frameoperator= (frame other)
 
bool supports_frame_metadata (rs2_frame_metadata_value frame_metadata) const
 
void swap (frame &other)
 
 ~frame ()
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::frame
void add_ref () const
 
void reset ()
 

Detailed Description

GPU-Frame extension can be used to recover underlying OpenGL textures from a GPU frame and to check if frame data is stored in CPU or GPU memory

Definition at line 93 of file rs_processing_gl.hpp.

Constructor & Destructor Documentation

rs2::gl::gpu_frame::gpu_frame ( const frame f)
inline

Definition at line 96 of file rs_processing_gl.hpp.

Member Function Documentation

uint32_t rs2::gl::gpu_frame::get_texture_id ( unsigned int  id = 0) const
inline

Definition at line 107 of file rs_processing_gl.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:41