libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
gl_cv.hpp File Reference

OpenCV video-capture integration for the OpenGL backend. More...

#include <opencv2/opencv.hpp>
#include "gl.hpp"
#include <memory>
Include dependency graph for gl_cv.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mx::MXCapture
 OpenCV video capture source that renders via an OpenGL sprite. More...

Namespaces

namespace  mx

Detailed Description

OpenCV video-capture integration for the OpenGL backend.

MXCapture wraps cv::VideoCapture and renders each captured frame into a gl::GLSprite using a user-supplied GLSL shader pair.

Definition in file gl_cv.hpp.