#include <camera-shader.h>
Public Member Functions | |
| void | begin () |
| camera_shader () | |
| void | end () |
| void | set_mvp (const rs2::matrix4 &model, const rs2::matrix4 &view, const rs2::matrix4 &projection) |
| void | set_opacity (float opacity) |
Protected Attributes | |
| std::unique_ptr< rs2::shader_program > | _shader |
Private Member Functions | |
| void | init () |
Private Attributes | |
| uint32_t | _camera_matrix_location |
| uint32_t | _opacity_location |
| uint32_t | _projection_matrix_location |
| uint32_t | _transformation_matrix_location |
Definition at line 14 of file camera-shader.h.
| librealsense::gl::camera_shader::camera_shader | ( | ) |
Definition at line 48 of file camera-shader.cpp.
| void librealsense::gl::camera_shader::begin | ( | ) |
Definition at line 67 of file camera-shader.cpp.
| void librealsense::gl::camera_shader::end | ( | ) |
Definition at line 68 of file camera-shader.cpp.
|
private |
Definition at line 57 of file camera-shader.cpp.
| void librealsense::gl::camera_shader::set_mvp | ( | const rs2::matrix4 & | model, |
| const rs2::matrix4 & | view, | ||
| const rs2::matrix4 & | projection | ||
| ) |
Definition at line 70 of file camera-shader.cpp.
| void librealsense::gl::camera_shader::set_opacity | ( | float | opacity | ) |
Definition at line 79 of file camera-shader.cpp.
|
private |
Definition at line 35 of file camera-shader.h.
|
private |
Definition at line 36 of file camera-shader.h.
|
private |
Definition at line 34 of file camera-shader.h.
|
protected |
Definition at line 28 of file camera-shader.h.
|
private |
Definition at line 33 of file camera-shader.h.