NDEVR
API Documentation
LocalVideoRenderer.h
1#pragma once
2#include <QGraphicsVideoItem>
3namespace NDEVR
4{
8 class LocalVideoRenderer : public QGraphicsVideoItem
9 {
10 public:
14 explicit LocalVideoRenderer(QGraphicsItem* parent = nullptr);
20 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
21 };
22}
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
Paints the video frame with custom rendering logic.
LocalVideoRenderer(QGraphicsItem *parent=nullptr)
Constructs a LocalVideoRenderer with an optional parent graphics item.
The primary namespace for the NDEVR SDK.