Function rs2_gl_init_processing
Defined in File rs_processing_gl.h
Function Documentation
-
void rs2_gl_init_processing(int api_version, int use_glsl, rs2_error **error)
Initialize processing pipeline. This function allows GL processing blocks to run on the GPU. Until initialized, all GL processing blocks will fall back to their CPU versions. When initializing using this method, texture sharing is not available.
- 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