18 #ifndef GZ_GUI_PLUGINS_MINIMALSCENE_MINIMALSCENERHIOPENGL_HH_
19 #define GZ_GUI_PLUGINS_MINIMALSCENE_MINIMALSCENERHIOPENGL_HH_
24 #include <QQuickWindow>
34 class GzCameraTextureRhiOpenGLPrivate;
53 class RenderThreadRhiOpenGLPrivate;
66 public:
virtual QOffscreenSurface *
Surface()
const override;
69 public:
virtual void SetSurface(QOffscreenSurface *_surface)
override;
72 public:
virtual QOpenGLContext *
Context()
const override;
75 public:
virtual void SetContext(QOpenGLContext *_context)
override;
84 public:
virtual void RenderNext(RenderSync *_renderSync)
override;
106 class TextureNodeRhiOpenGLPrivate;
119 public:
virtual QSGTexture *
Texture()
const override;
126 void* _texturePtr,
const QSize &_size)
override;