mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-07 11:13:46 +03:00
24 lines
437 B
C
24 lines
437 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include "gs/GSH_OpenGL/GSH_OpenGL.h"
|
||
|
|
||
|
class QWindow;
|
||
|
class QOpenGLContext;
|
||
|
|
||
|
class CGSH_OpenGLQt : public CGSH_OpenGL
|
||
|
{
|
||
|
public:
|
||
|
CGSH_OpenGLQt(QWindow*);
|
||
|
virtual ~CGSH_OpenGLQt();
|
||
|
|
||
|
static FactoryFunction GetFactoryFunction(QWindow*);
|
||
|
|
||
|
void InitializeImpl() override;
|
||
|
void ReleaseImpl() override;
|
||
|
void PresentBackbuffer() override;
|
||
|
|
||
|
private:
|
||
|
QWindow* m_renderWindow = nullptr;
|
||
|
QOpenGLContext* m_context = nullptr;
|
||
|
};
|