Function rs2_gl_create_camera_renderer

Function Documentation

rs2_processing_block *rs2_gl_create_camera_renderer(int api_version, rs2_error **error)

Camera renderer is a rendering block (meaning it has to be called within the main OpenGL rendering context) that will render the camera model of the frame provided to it

Parameters:
  • api_version[in] Users are expected to pass their version of RS2_API_VERSION to make sure they are running the correct librealsense version.

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored