4#ifndef QQUICKGRAPHICSCONFIGURATION_H
5#define QQUICKGRAPHICSCONFIGURATION_H
7#include <QtQuick/qtquickglobal.h>
8#include <QtCore/qbytearraylist.h>
9#include <QtCore/qdebug.h>
28 void setDepthBufferFor2D(
bool enable);
29 bool isDepthBufferEnabledFor2D()
const;
31 void setDebugLayer(
bool enable);
32 bool isDebugLayerEnabled()
const;
34 void setDebugMarkers(
bool enable);
35 bool isDebugMarkersEnabled()
const;
37 void setTimestamps(
bool enable);
38 bool isTimestampsEnabled()
const;
40 void setPreferSoftwareDevice(
bool enable);
41 bool prefersSoftwareDevice()
const;
43 void setAutomaticPipelineCache(
bool enable);
44 bool isAutomaticPipelineCacheEnabled()
const;
46 void setPipelineCacheSaveFile(
const QString &filename);
47 QString pipelineCacheSaveFile()
const;
49 void setPipelineCacheLoadFile(
const QString &filename);
50 QString pipelineCacheLoadFile()
const;
53 bool isHdrEnabled()
const;
59#ifndef QT_NO_DEBUG_STREAM
QQuickGraphicsConfiguration controls lower level graphics settings for the QQuickWindow.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.