![]() ![]() If the rendering scene graph has been released, the signal will be emitted again before the next frame is rendered. The sceneGraphInitialized() signal is emitted on the rendering thread before the QML scene is rendered to the screen for the first time. ![]() Since the rendering scene graph lives independently from the QML scene, it can also be completely released without affecting the state of the QML scene. This scene graph is disconnected from the QML scene and potentially lives in another thread, depending on the platform implementation. QQuickWindow uses a scene graph to represent what needs to be rendered. To add items to this window, reparent the items to the root item or to an existing item in the scene.įor easily displaying a scene from a QML file, see QQuickView. QQuickWindow provides the graphical scene management needed to interact with and display a scene of QQuickItems.Ī QQuickWindow always has a single invisible root item. SetRenderTarget(const QQuickRenderTarget & target) SetGraphicsDevice(const QQuickGraphicsDevice & device) SetGraphicsConfiguration(const QQuickGraphicsConfiguration & config) ScheduleRenderJob(QRunnable * job, QQuickWindow::RenderStage stage) CreateTextureFromImage(const QImage & image, QQuickWindow::CreateTextureOptions options) constĬreateTextureFromImage(const QImage & image) const ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |