Function rs2_gl_create_uploader

Function Documentation

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

Creates Upload processing block This object can explicitly copy frames from the CPU to the GPU This allows pre-emptively upload frame to the GPU on a background thread To be used directly in future GPU processing

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