Function rs2_gl_create_pointcloud

Function Documentation

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

Creates Point-Cloud processing block. This block accepts depth frames and outputs Points frames In addition, given non-depth frame, the block will align texture coordinate to the non-depth stream

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