Function rs2_gl_create_align

Function Documentation

rs2_processing_block *rs2_gl_create_align(int api_version, rs2_stream to, rs2_error **error)

Creates Align processing block This block has similar capabilities as the regular librealsense align

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.

  • align_to[in] stream type to be used as the target of frameset alignment

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