diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-12 13:10:19 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-15 15:10:44 +0200 |
commit | 13bfeed2c1d50fd34f0fc725b1c909b4ff155428 (patch) | |
tree | 655ae994fe6e6aae6058951889db3d010369f675 /src/quick/items/qquickgraphicsinfo.cpp | |
parent | 452f14fa225651e737f749cec9491adf0dc0cb68 (diff) |
Do a small doc update for GraphicsInfo
Change-Id: I1e42e9e1ba08c37d7177ff5ca77410d9d6ecc612
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/quick/items/qquickgraphicsinfo.cpp')
-rw-r--r-- | src/quick/items/qquickgraphicsinfo.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/quick/items/qquickgraphicsinfo.cpp b/src/quick/items/qquickgraphicsinfo.cpp index c92ac611db..e39e0e7afa 100644 --- a/src/quick/items/qquickgraphicsinfo.cpp +++ b/src/quick/items/qquickgraphicsinfo.cpp @@ -50,10 +50,10 @@ QT_BEGIN_NAMESPACE \ingroup qtquick-visual \since 5.8 \since QtQuick 2.8 - \brief Provides information about the used Qt Quick backend. + \brief Provides information about the scenegraph backend and the graphics API used by Qt Quick. The GraphicsInfo attached type provides information about the scenegraph - backend used to render the contents of the associated window. + backend and the graphics API used to render the contents of the associated window. If the item to which the properties are attached is not currently associated with any window, the properties are set to default values. When @@ -194,6 +194,8 @@ QQuickGraphicsInfo *QQuickGraphicsInfo::qmlAttachedProperties(QObject *object) With OpenGL the default version is \c 2.0. + \note This is applicable only to OpenGL. + \sa minorVersion, profile */ @@ -204,6 +206,8 @@ QQuickGraphicsInfo *QQuickGraphicsInfo::qmlAttachedProperties(QObject *object) With OpenGL the default version is \c 2.0. + \note This is applicable only to OpenGL. + \sa majorVersion, profile */ @@ -222,6 +226,8 @@ QQuickGraphicsInfo *QQuickGraphicsInfo::qmlAttachedProperties(QObject *object) Reusable QML components will typically use this property in bindings in order to choose between core and non core profile compatible shader sources. + \note This is applicable only to OpenGL. + \sa majorVersion, minorVersion, QSurfaceFormat */ @@ -238,6 +244,8 @@ QQuickGraphicsInfo *QQuickGraphicsInfo::qmlAttachedProperties(QObject *object) \li GraphicsInfo.SurfaceFormatOpenGLES - OpenGL ES \endlist + \note This is applicable only to OpenGL. + \sa QSurfaceFormat */ |