Generic live-RGB video texture overlay rendered as a screen-aligned quad with chroma keying. More...


Go to the source code of this file.
Classes | |
| class | DISP3DLIB::VideoOverlay |
| Camera-facing textured quad rendered at a focus point in the 3-D scene. More... | |
Namespaces | |
| namespace | DISP3DLIB |
| 3-D brain visualisation using the Qt RHI rendering backend. | |
Generic live-RGB video texture overlay rendered as a screen-aligned quad with chroma keying.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
VideoOverlay accepts a stream of QImage frames (e.g. from a tracking webcam or a recorded video) and uploads each frame to a QRhi RGBA texture sampled by a screen-aligned quad. The overlay is composited after the 3-D scene with alpha blending so it can be used as a picture-in-picture reference, an AR background, or a chroma-keyed avatar overlay.
Definition in file videooverlay.h.