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
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

◆ current()

Member Data Documentation

◆ options

QSurfaceFormat::FormatOptions QWindowsOpenGLContextFormat::options

majorVersion<<8 + minorVersion

Definition at line 56 of file qwindowsglcontext.h.

Referenced by apply().

◆ profile

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

Definition at line 54 of file qwindowsglcontext.h.

Referenced by apply().

◆ version

int QWindowsOpenGLContextFormat::version = 0

Definition at line 55 of file qwindowsglcontext.h.

Referenced by apply(), and current().


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