4 #ifndef LIBREALSENSE_RS2_PROCESSING_GL_HPP 5 #define LIBREALSENSE_RS2_PROCESSING_GL_HPP 126 std::shared_ptr<rs2_processing_block>
init()
129 auto block = std::shared_ptr<rs2_processing_block>(
151 std::shared_ptr<rs2_processing_block>
init()
154 auto block = std::shared_ptr<rs2_processing_block>(
169 std::shared_ptr<rs2_processing_block>
init()
172 auto block = std::shared_ptr<rs2_processing_block>(
199 std::shared_ptr<rs2_processing_block>
init()
203 auto block = std::shared_ptr<rs2_processing_block>(
238 std::shared_ptr<rs2_processing_block>
init()
242 auto block = std::shared_ptr<rs2_processing_block>(
293 std::shared_ptr<rs2_processing_block>
init()
297 auto block = std::shared_ptr<rs2_processing_block>(
320 auto block = std::shared_ptr<rs2_processing_block>(
331 #endif // LIBREALSENSE_RS2_PROCESSING_GL_HPP void init_processing(bool use_glsl=true)
rs2_processing_block * rs2_gl_create_colorizer(int api_version, rs2_error **error)
void rs2_gl_shutdown_processing(int api_version, rs2_error **error)
std::shared_ptr< rs2_processing_block > init()
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
GLFWAPI GLFWglproc glfwGetProcAddress(const char *procname)
Returns the address of the specified function for the current context.
std::shared_ptr< rs2_processing_block > init()
void rs2_gl_init_rendering_glfw(int api_version, glfw_binding bindings, int use_glsl, rs2_error **error)
rs2_processing_block * rs2_gl_create_pointcloud_renderer(int api_version, rs2_error **error)
std::shared_ptr< rs2_processing_block > init()
pointcloud(rs2_stream stream, int index=0)
void rs2_gl_shutdown_rendering(int api_version, rs2_error **error)
std::shared_ptr< rs2_processing_block > init()
int rs2_gl_is_frame_extendable_to(const rs2_frame *f, rs2_gl_extension extension_type, rs2_error **error)
gpu_frame(const frame &f)
rs2_processing_block * rs2_gl_create_yuy_decoder(int api_version, rs2_error **error)
void shutdown_processing()
void set_matrix(rs2_gl_matrix_type type, float *m4x4)
std::shared_ptr< rs2_processing_block > init(rs2_stream to)
Exposes RealSense processing-block functionality for GPU for C compilers.
void rs2_gl_set_matrix(rs2_processing_block *block, rs2_gl_matrix_type type, float *m4x4, rs2_error **error)
void set_matrix(rs2_gl_matrix_type type, float *m4x4)
void shutdown_rendering()
GLFWAPI void glfwSwapInterval(int interval)
Sets the swap interval for the current context.
GLFWAPI void glfwMakeContextCurrent(GLFWwindow *window)
Makes the context of the specified window current for the calling thread.
void rs2_delete_processing_block(rs2_processing_block *block)
void init_rendering(bool use_glsl=true)
static void handle(rs2_error *e)
std::shared_ptr< rs2_processing_block > init()
rs2_stream
Streams are different types of data provided by RealSense devices.
uint32_t get_texture_id(unsigned int id=0) const
void rs2_gl_init_processing_glfw(int api_version, GLFWwindow *share_with, glfw_binding bindings, int use_glsl, rs2_error **error)
GLFWAPI GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
Creates a window and its associated context.
rs2_processing_block * rs2_gl_create_camera_renderer(int api_version, rs2_error **error)
void rs2_gl_init_rendering(int api_version, int use_glsl, rs2_error **error)
std::shared_ptr< rs2_processing_block > init()
rs2_processing_block * rs2_gl_create_uploader(int api_version, rs2_error **error)
GLFWAPI void glfwDestroyWindow(GLFWwindow *window)
Destroys the specified window and its context.
rs2_processing_block * rs2_gl_create_align(int api_version, rs2_stream to, rs2_error **error)
unsigned int rs2_gl_frame_get_texture_id(const rs2_frame *f, unsigned int id, rs2_error **error)
rs2_processing_block * rs2_gl_create_pointcloud(int api_version, rs2_error **error)
GLFWAPI GLFWwindow * glfwGetCurrentContext(void)
Returns the window whose context is current on the calling thread.
struct GLFWwindow GLFWwindow
GLFWAPI void glfwWindowHint(int hint, int value)
Sets the specified window hint to the desired value.
void rs2_gl_init_processing(int api_version, int use_glsl, rs2_error **error)