Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QOpenGLTemporaryContext Class Reference

A temporary context that can be instantiated on the stack. More...

+ Collaboration diagram for QOpenGLTemporaryContext:

Public Member Functions

 QOpenGLTemporaryContext ()
 
 ~QOpenGLTemporaryContext ()
 

Detailed Description

A temporary context that can be instantiated on the stack.

Functions like wglGetProcAddress() or glGetString() only work if there is a current GL context.

Definition at line 893 of file qwindowsglcontext.cpp.

Constructor & Destructor Documentation

◆ QOpenGLTemporaryContext()

QOpenGLTemporaryContext::QOpenGLTemporaryContext ( )

◆ ~QOpenGLTemporaryContext()

QOpenGLTemporaryContext::~QOpenGLTemporaryContext ( )

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