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
qopenglshadercache_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef QOPENGLSHADERCACHE_P_H
16#define QOPENGLSHADERCACHE_P_H
17
18#include <QtOpenGL/qtopenglglobal.h>
19#include <QtCore/private/qglobal_p.h>
20
22
23
25class QOpenGLContext;
26
28{
29public:
30 inline CachedShader(const QByteArray &, const QByteArray &)
31 {}
32
33 inline bool isCached()
34 {
35 return false;
36 }
37
39 {
40 return false;
41 }
42
44 {
45 return false;
46 }
47};
48
50
51#endif
bool store(QOpenGLShaderProgram *, QOpenGLContext *)
bool load(QOpenGLShaderProgram *, QOpenGLContext *)
CachedShader(const QByteArray &, const QByteArray &)
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtGui
The QOpenGLShaderProgram class allows OpenGL shader programs to be linked and used.
Combined button and popup list for selecting options.