18 #ifndef GZ_GUI_PLUGINS_MINIMALSCENE_MINIMALSCENERHI_HH_
19 #define GZ_GUI_PLUGINS_MINIMALSCENE_MINIMALSCENERHI_HH_
24 #include "gz/rendering/RenderTypes.hh"
29 namespace gz::gui::plugins
47 public:
virtual void TextureId(
void* _texturePtr) = 0;
62 public:
virtual QOffscreenSurface *Surface()
const;
67 public:
virtual void SetSurface(QOffscreenSurface *_surface);
70 public:
virtual QOpenGLContext *Context()
const;
75 public:
virtual void SetContext(QOpenGLContext *_context);
87 public:
virtual void RenderNext(RenderSync *_renderSync) = 0;
90 public:
virtual void* TexturePtr()
const = 0;
93 public:
virtual QSize TextureSize()
const = 0;
96 public:
virtual void ShutDown() = 0;
107 public:
virtual QSGTexture *Texture()
const = 0;
111 public:
virtual bool HasNewTexture()
const = 0;
117 public:
virtual void NewTexture(
118 void* _texturePtr,
const QSize &_size) = 0;
122 public:
virtual void PrepareNode() = 0;
126 #endif // GZ_GUI_PLUGINS_MINIMALSCENE_MINIMALSCENERHI_HH_