![]() |
Qt 6.x
The Qt SDK
|
#include <qwindowsglcontext.h>
Public Member Functions | |
void | apply (QSurfaceFormat *format) const |
Static Public Member Functions | |
static QWindowsOpenGLContextFormat | current () |
Public Attributes | |
QSurfaceFormat::OpenGLContextProfile | profile = QSurfaceFormat::NoProfile |
int | version = 0 |
QSurfaceFormat::FormatOptions | options |
majorVersion<<8 + minorVersion | |
Definition at line 49 of file qwindowsglcontext.h.
void QWindowsOpenGLContextFormat::apply | ( | QSurfaceFormat * | format | ) | const |
Definition at line 872 of file qwindowsglcontext.cpp.
References QSurfaceFormat::DebugContext, QSurfaceFormat::DeprecatedFunctions, options, profile, and version.
|
static |
Definition at line 839 of file qwindowsglcontext.cpp.
References QSurfaceFormat::CompatibilityProfile, QSurfaceFormat::CoreProfile, QSurfaceFormat::DebugContext, QSurfaceFormat::DeprecatedFunctions, QOpenGLStaticContext::getGlString(), GL_CONTEXT_COMPATIBILITY_PROFILE_BIT, GL_CONTEXT_CORE_PROFILE_BIT, GL_CONTEXT_FLAG_DEBUG_BIT, GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT, GL_CONTEXT_FLAGS, GL_CONTEXT_PROFILE_MASK, GLint(), QSurfaceFormat::NoProfile, QOpenGLStaticContext::opengl32, QPlatformOpenGLContext::parseOpenGLVersion(), and version.
QSurfaceFormat::FormatOptions QWindowsOpenGLContextFormat::options |
majorVersion<<8 + minorVersion
Definition at line 56 of file qwindowsglcontext.h.
Referenced by apply().
QSurfaceFormat::OpenGLContextProfile QWindowsOpenGLContextFormat::profile = QSurfaceFormat::NoProfile |
Definition at line 54 of file qwindowsglcontext.h.
Referenced by apply().
int QWindowsOpenGLContextFormat::version = 0 |
Definition at line 55 of file qwindowsglcontext.h.
Referenced by apply(), ARB::createContext(), and current().