Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 ()
 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() [1/2]

QOpenGLTemporaryContext::QOpenGLTemporaryContext ( )

Definition at line 905 of file qwindowsglcontext.cpp.

◆ ~QOpenGLTemporaryContext() [1/2]

QOpenGLTemporaryContext::~QOpenGLTemporaryContext ( )

Definition at line 912 of file qwindowsglcontext.cpp.

◆ QOpenGLTemporaryContext() [2/2]

QOpenGLTemporaryContext::QOpenGLTemporaryContext ( )

◆ ~QOpenGLTemporaryContext() [2/2]

QOpenGLTemporaryContext::~QOpenGLTemporaryContext ( )

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