Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWindowsOpenGLContext Class Reference

#include <qwindowsopenglcontext.h>

+ Inheritance diagram for QWindowsOpenGLContext:
+ Collaboration diagram for QWindowsOpenGLContext:

Public Member Functions

virtual voidnativeDisplay () const
 
virtual voidnativeConfig () 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.
 
QOpenGLContextcontext () 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)
 

Detailed Description

Definition at line 41 of file qwindowsopenglcontext.h.

Constructor & Destructor Documentation

◆ QWindowsOpenGLContext()

QWindowsOpenGLContext::QWindowsOpenGLContext ( )
protecteddefault

Member Function Documentation

◆ nativeConfig()

virtual void * QWindowsOpenGLContext::nativeConfig ( ) const
inlinevirtual

Definition at line 48 of file qwindowsopenglcontext.h.

◆ nativeDisplay()

virtual void * QWindowsOpenGLContext::nativeDisplay ( ) const
inlinevirtual

Definition at line 47 of file qwindowsopenglcontext.h.


The documentation for this class was generated from the following file: