28 std::unique_ptr<rs2::shader_program>
_shader;
47 void cleanup_gpu_resources()
override;
48 void create_gpu_resources()
override;
void set_opacity(float opacity)
uint32_t _camera_matrix_location
std::unique_ptr< rs2::shader_program > _shader
uint32_t _opacity_location
uint32_t _transformation_matrix_location
std::vector< std::unique_ptr< rs2::vao > > _camera_model
uint32_t _projection_matrix_location
void set_mvp(const rs2::matrix4 &model, const rs2::matrix4 &view, const rs2::matrix4 &projection)
GLsizei GLsizei GLchar * source
std::vector< rs2::obj_mesh > camera_mesh
std::shared_ptr< camera_shader > _shader