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
21
23class QOpenGLContext;
24
25class Q_OPENGL_EXPORT QOpenGLVersionFunctionsFactory
26{
27public:
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
38
39#endif
\inmodule QtGui
static TYPE * get(QOpenGLContext *context=nullptr)
Combined button and popup list for selecting options.
static void * context
static QDBusError::ErrorType get(const char *name)
GLsizei const GLfloat * v
[13]
const char * TYPE