Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
15
16
#
ifndef
QOPENGLSHADERCACHE_P_H
17
#
define
QOPENGLSHADERCACHE_P_H
18
19
#
include
<
QtOpenGL
/
qtopenglglobal
.
h
>
20
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
25
class
QOpenGLShaderProgram;
26
class
QOpenGLContext;
27
28
class
CachedShader
29
{
30
public
:
31
inline
CachedShader
(
const
QByteArray &,
const
QByteArray &)
32
{}
33
34
inline
bool
isCached
()
35
{
36
return
false
;
37
}
38
39
inline
bool
load
(QOpenGLShaderProgram *, QOpenGLContext *)
40
{
41
return
false
;
42
}
43
44
inline
bool
store
(QOpenGLShaderProgram *, QOpenGLContext *)
45
{
46
return
false
;
47
}
48
};
49
50
QT_END_NAMESPACE
51
52
#
endif
CachedShader
Definition
qopenglshadercache_p.h:29
CachedShader::isCached
bool isCached()
Definition
qopenglshadercache_p.h:34
CachedShader::store
bool store(QOpenGLShaderProgram *, QOpenGLContext *)
Definition
qopenglshadercache_p.h:44
CachedShader::load
bool load(QOpenGLShaderProgram *, QOpenGLContext *)
Definition
qopenglshadercache_p.h:39
CachedShader::CachedShader
CachedShader(const QByteArray &, const QByteArray &)
Definition
qopenglshadercache_p.h:31
qtbase
src
opengl
qopenglshadercache_p.h
Generated on
for Qt by
1.18.0