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
QWindowsOpenGLContextFormat Struct Reference

#include <qwindowsglcontext.h>

Collaboration diagram for QWindowsOpenGLContextFormat:

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

Detailed Description

Definition at line 49 of file qwindowsglcontext.h.

Member Function Documentation

◆ apply()

void QWindowsOpenGLContextFormat::apply ( QSurfaceFormat * format) const

Definition at line 872 of file qwindowsglcontext.cpp.

References version.

◆ current()

QWindowsOpenGLContextFormat QWindowsOpenGLContextFormat::current ( )
static

Definition at line 839 of file qwindowsglcontext.cpp.

References QOpenGLStaticContext::opengl32, and version.

Member Data Documentation

◆ options

◆ profile

QSurfaceFormat::OpenGLContextProfile QWindowsOpenGLContextFormat::profile = QSurfaceFormat::NoProfile

Definition at line 54 of file qwindowsglcontext.h.

◆ version

int QWindowsOpenGLContextFormat::version = 0

Definition at line 55 of file qwindowsglcontext.h.

Referenced by apply(), current(), and operator<<().


The documentation for this struct was generated from the following files: