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
qopenglversionfunctionsfactory.h
Go to the documentation of this file.
1
// Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
/***************************************************************************
4
** This file was generated by glgen version 0.1
5
** Command line was: glgen
6
**
7
** glgen is Copyright (C) 2012 Klaralvdalens Datakonsult AB (KDAB)
8
**
9
** This is an auto-generated file.
10
** Do not edit! All changes made to it will be lost.
11
**
12
****************************************************************************/
13
14
#ifndef QOPENGLVERSIONFUNCTIONFACTORY_H
15
#define QOPENGLVERSIONFUNCTIONFACTORY_H
16
17
#include <QtOpenGL/qtopenglglobal.h>
18
#include <QtOpenGL/qopenglversionprofile.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
QAbstractOpenGLFunctions
;
23
class
QOpenGLContext
;
24
25
class
Q_OPENGL_EXPORT
QOpenGLVersionFunctionsFactory
26
{
27
public
:
28
static
QAbstractOpenGLFunctions
*
get
(
const
QOpenGLVersionProfile
&versionProfile =
QOpenGLVersionProfile
(),
QOpenGLContext
*
context
=
nullptr
);
29
template
<
class
TYPE>
30
static
TYPE
*
get
(
QOpenGLContext
*
context
=
nullptr
)
31
{
32
QOpenGLVersionProfile
v
= TYPE::versionProfile();
33
return
static_cast<
TYPE
*
>
(
get
(
v
,
context
));
34
}
35
};
36
37
QT_END_NAMESPACE
38
39
#endif
QAbstractOpenGLFunctions
\inmodule QtOpenGL
Definition
qopenglversionfunctions.h:175
QOpenGLContext
\inmodule QtGui
Definition
qopenglcontext.h:67
QOpenGLVersionFunctionsFactory
\inmodule QtOpenGL
Definition
qopenglversionfunctionsfactory.h:26
QOpenGLVersionFunctionsFactory::get
static TYPE * get(QOpenGLContext *context=nullptr)
Definition
qopenglversionfunctionsfactory.h:30
QOpenGLVersionProfile
\inmodule QtOpenGL
Definition
qopenglversionprofile.h:20
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
context
static void * context
Definition
qandroidaudiosource.cpp:42
get
static QDBusError::ErrorType get(const char *name)
Definition
qdbuserror.cpp:55
v
GLsizei const GLfloat * v
[13]
Definition
qopengles2ext.h:788
TYPE
const char * TYPE
Definition
qv4debugclient.cpp:20
qtbase
src
opengl
qopenglversionfunctionsfactory.h
Generated by
1.10.0