Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickgraphicsconfiguration_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 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#ifndef QQUICKGRAPHICSCONFIGURATION_P_H
5#define QQUICKGRAPHICSCONFIGURATION_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQuick/private/qtquickglobal_p.h>
19#include <QAtomicInt>
21
23
24class Q_QUICK_PRIVATE_EXPORT QQuickGraphicsConfigurationPrivate
25{
26public:
31
32 enum Flag {
33 UseDepthBufferFor2D = 0x01,
34 EnableDebugLayer = 0x02,
35 EnableDebugMarkers = 0x04,
36 PreferSoftwareDevice = 0x08,
37 AutoPipelineCache = 0x10,
38 EnableTimestamps = 0x20,
39 EnableHdr = 0x40
40 };
42
44 QByteArrayList deviceExtensions;
46 QString pipelineCacheSaveFile;
47 QString pipelineCacheLoadFile;
48};
49
51
53
54#endif // QQUICKGRAPHICSCONFIGURATION_P_H
\inmodule QtCore
Definition qatomic.h:112
\inmodule QtCore
static QQuickGraphicsConfigurationPrivate * get(QQuickGraphicsConfiguration *p)
static const QQuickGraphicsConfigurationPrivate * get(const QQuickGraphicsConfiguration *p)
QQuickGraphicsConfiguration controls lower level graphics settings for the QQuickWindow.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
Definition qflags.h:174
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Definition qflags.h:194
Flags
GLbitfield flags
GLint ref
GLfloat GLfloat p
[1]
QSharedPointer< T > other(t)
[5]