![]() |
Qt 6.x
The Qt SDK
|
#include <qwindowsopenglcontext.h>
Inheritance diagram for QWindowsOpenGLContext:
Collaboration diagram for QWindowsOpenGLContext:Public Member Functions | |
| virtual void * | nativeDisplay () const |
| virtual void * | nativeConfig () const |
Public Member Functions inherited from QPlatformOpenGLContext | |
| QPlatformOpenGLContext () | |
| virtual | ~QPlatformOpenGLContext () |
| virtual void | initialize () |
| Called after a new instance is constructed. | |
| virtual QSurfaceFormat | format () const =0 |
| virtual void | swapBuffers (QPlatformSurface *surface)=0 |
| Reimplement in subclass to native swap buffers calls. | |
| virtual GLuint | defaultFramebufferObject (QPlatformSurface *surface) const |
| Reimplement in subclass if your platform uses framebuffer objects for surfaces. | |
| virtual bool | makeCurrent (QPlatformSurface *surface)=0 |
| virtual void | doneCurrent ()=0 |
| virtual void | beginFrame () |
| Called when the RHI begins rendering a new frame in the context. | |
| virtual void | endFrame () |
| Called when the RHI ends rendering a in the context. | |
| virtual bool | isSharing () const |
| virtual bool | isValid () const |
| virtual QFunctionPointer | getProcAddress (const char *procName)=0 |
| Reimplement in subclass to allow dynamic querying of OpenGL symbols. | |
| QOpenGLContext * | context () const |
Protected Member Functions | |
| QWindowsOpenGLContext ()=default | |
Additional Inherited Members | |
Static Public Member Functions inherited from QPlatformOpenGLContext | |
| static bool | parseOpenGLVersion (const QByteArray &versionString, int &major, int &minor) |
Definition at line 41 of file qwindowsopenglcontext.h.
|
protecteddefault |
|
inlinevirtual |
Definition at line 48 of file qwindowsopenglcontext.h.
|
inlinevirtual |
Definition at line 47 of file qwindowsopenglcontext.h.