| OpenCV 4.3.0 Open Source Computer Vision

Functions
cv::ogl::ocl Namespace Reference
Core functionality » OpenGL interoperability

## Functions
Context & | initializeContextFromGL ()
| Creates OpenCL context from GL. More...

## Function Documentation

## ◆ initializeContextFromGL()

Context& cv::ogl::ocl::initializeContextFromGL | ( |  | ) |

Creates OpenCL context from GL.

Returns
  Returns reference to OpenCL Context