Rename textureinsgnode example to a more fitting name

It shows QQuickFramebufferObject. "Texture in QSGNode" is ambiguous
as it suggests another type of use case (where an existing texture is
imported and used with the QQ scene - without rendering to it). This
would conflict with upcoming future examples, so rename to fboitem, which
is what this example is about.

The link from examples.qdoc is already using the fitting title so that will
just work.

Change-Id: Ide7a563398a4b464c55f14e10fa9386432b3d06d
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
This commit is contained in:
Laszlo Agocs 2019-08-30 11:55:33 +02:00
parent 6adf5052d4
commit d0d2e7da01
9 changed files with 7 additions and 7 deletions

View File

@ -26,11 +26,11 @@
****************************************************************************/
/*!
\example scenegraph/textureinsgnode
\example scenegraph/fboitem
\title Scene Graph - Rendering FBOs
\ingroup qtquickexamples
\brief Shows how to use FramebufferObjects with Qt Quick.
\image textureinsgnode-example.jpg
\image fboitem-example.jpg
*/

View File

@ -7,9 +7,9 @@ INCLUDEPATH += ../shared
HEADERS += ../shared/logorenderer.h
SOURCES += ../shared/logorenderer.cpp
RESOURCES += textureinsgnode.qrc
RESOURCES += fboitem.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/quick/scenegraph/textureinsgnode
target.path = $$[QT_INSTALL_EXAMPLES]/quick/scenegraph/fboitem
INSTALLS += target
OTHER_FILES += \

View File

@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/scenegraph/textureinsgnode">
<qresource prefix="/scenegraph/fboitem">
<file>main.qml</file>
</qresource>
</RCC>

View File

@ -62,7 +62,7 @@ int main(int argc, char **argv)
QQuickView view;
view.setResizeMode(QQuickView::SizeRootObjectToView);
view.setSource(QUrl("qrc:///scenegraph/textureinsgnode/main.qml"));
view.setSource(QUrl("qrc:///scenegraph/fboitem/main.qml"));
view.show();
return app.exec();

View File

@ -5,7 +5,7 @@ qtConfig(opengl(es1|es2)?) {
graph \
simplematerial \
sgengine \
textureinsgnode \
fboitem \
openglunderqml \
textureinthread \
twotextureproviders