5#ifndef QQUICKGRAPHICSINFO_P_H
6#define QQUICKGRAPHICSINFO_P_H
19#include <QtCore/qobject.h>
20#include <QtCore/qpointer.h>
21#include <QtQml/qqml.h>
22#include <QtGui/qsurfaceformat.h>
23#include <QtQuick/qsgrendererinterface.h>
24#include <QtCore/private/qglobal_p.h>
34 Q_PROPERTY(GraphicsApi api READ api NOTIFY apiChanged FINAL)
46 QML_UNCREATABLE(
"GraphicsInfo is only available via attached properties.")
81 Q_ENUM(ShaderCompilationType)
88 Q_ENUM(ShaderSourceType)
95 Q_ENUM(OpenGLContextProfile)
102 Q_ENUM(RenderableType)
131 void setWindow(QQuickWindow *window);
134 QPointer<QQuickWindow> m_window;
136 ShaderType m_shaderType;
137 ShaderCompilationType m_shaderCompilationType;
138 ShaderSourceType m_shaderSourceType;
141 OpenGLContextProfile m_profile;
142 RenderableType m_renderableType;
void minorVersionChanged()
void renderableTypeChanged()
static QQuickGraphicsInfo * qmlAttachedProperties(QObject *object)
void shaderCompilationTypeChanged()
ShaderCompilationType shaderCompilationType() const
void majorVersionChanged()
OpenGLContextProfile profile() const
ShaderSourceType shaderSourceType() const
ShaderType shaderType() const
void shaderSourceTypeChanged()
RenderableType renderableType() const
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.