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:
parent
6adf5052d4
commit
d0d2e7da01
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
@ -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
|
||||
*/
|
|
@ -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 += \
|
|
@ -1,5 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/scenegraph/textureinsgnode">
|
||||
<qresource prefix="/scenegraph/fboitem">
|
||||
<file>main.qml</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -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();
|
|
@ -5,7 +5,7 @@ qtConfig(opengl(es1|es2)?) {
|
|||
graph \
|
||||
simplematerial \
|
||||
sgengine \
|
||||
textureinsgnode \
|
||||
fboitem \
|
||||
openglunderqml \
|
||||
textureinthread \
|
||||
twotextureproviders
|
||||
|
|
Loading…
Reference in New Issue