void create_gpu_resources() override
uint32_t _transformation_matrix_location
~camera_renderer() override
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override
std::unique_ptr< rs2::shader_program > _shader
std::shared_ptr< camera_shader > _shader
void cleanup_gpu_resources() override
std::vector< std::unique_ptr< rs2::vao > > _camera_model
void set_opacity(float opacity)
uint32_t _projection_matrix_location
GLsizei GLsizei GLchar * source
uint32_t _camera_matrix_location
void set_mvp(const rs2::matrix4 &model, const rs2::matrix4 &view, const rs2::matrix4 &projection)
uint32_t _opacity_location
std::vector< rs2::obj_mesh > camera_mesh
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01