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
qquickgraphicsconfiguration.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKGRAPHICSCONFIGURATION_H
6
#
define
QQUICKGRAPHICSCONFIGURATION_H
7
8
#
include
<
QtQuick
/
qtquickglobal
.
h
>
9
#
include
<
QtCore
/
qbytearraylist
.
h
>
10
#
include
<
QtCore
/
qdebug
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QQuickGraphicsConfigurationPrivate;
15
16
class
Q_QUICK_EXPORT
QQuickGraphicsConfiguration
17
{
18
public
:
19
QQuickGraphicsConfiguration();
20
~QQuickGraphicsConfiguration();
21
QQuickGraphicsConfiguration(
const
QQuickGraphicsConfiguration &other);
22
QQuickGraphicsConfiguration &operator=(
const
QQuickGraphicsConfiguration &other);
23
24
static
QByteArrayList preferredInstanceExtensions();
25
26
void
setDeviceExtensions(
const
QByteArrayList &extensions);
27
QByteArrayList deviceExtensions()
const
;
28
29
void
setDepthBufferFor2D(
bool
enable);
30
bool
isDepthBufferEnabledFor2D()
const
;
31
32
void
setDebugLayer(
bool
enable);
33
bool
isDebugLayerEnabled()
const
;
34
35
void
setDebugMarkers(
bool
enable);
36
bool
isDebugMarkersEnabled()
const
;
37
38
void
setTimestamps(
bool
enable);
39
bool
timestampsEnabled()
const
;
40
41
void
setPreferSoftwareDevice(
bool
enable);
42
bool
prefersSoftwareDevice()
const
;
43
44
void
setAutomaticPipelineCache(
bool
enable);
45
bool
isAutomaticPipelineCacheEnabled()
const
;
46
47
void
setPipelineCacheSaveFile(
const
QString &filename);
48
QString pipelineCacheSaveFile()
const
;
49
50
void
setPipelineCacheLoadFile(
const
QString &filename);
51
QString pipelineCacheLoadFile()
const
;
52
53
private
:
54
void
detach();
55
QQuickGraphicsConfigurationPrivate *d;
56
friend
class
QQuickGraphicsConfigurationPrivate;
57
#
ifndef
QT_NO_DEBUG_STREAM
58
friend
Q_QUICK_EXPORT QDebug operator<<(QDebug dbg,
const
QQuickGraphicsConfiguration &config);
59
#
endif
60
};
61
62
63
QT_END_NAMESPACE
64
65
#
endif
// QQUICKGRAPHICSCONFIGURATION_H
QQuickGraphicsConfigurationPrivate
Definition
qquickgraphicsconfiguration_p.h:26
QQuickGraphicsConfiguration
QQuickGraphicsConfiguration controls lower level graphics settings for the QQuickWindow.
Definition
qquickgraphicsconfiguration.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
operator<<
QDebug operator<<(QDebug dbg, const QFileInfo &fi)
Definition
qfileinfo.cpp:1830
qtdeclarative
src
quick
items
qquickgraphicsconfiguration.h
Generated on
for Qt by
1.18.0