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
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
QOpenGLVersionFunctionsFactory
\inmodule QtOpenGL
Definition
qopenglversionfunctionsfactory.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
createFunctions
static QT_BEGIN_NAMESPACE QAbstractOpenGLFunctions * createFunctions(const QOpenGLVersionProfile &versionProfile)
Definition
qopenglversionfunctionsfactory.cpp:50
qtbase
src
opengl
qopenglversionfunctionsfactory.h
Generated on Mon Mar 10 2025 00:43:47 for Qt by
1.13.2