Qt 6.11 is out! See what's new in the release
blog
Multiple meshes or different colored vertex sets on a single QQuickItem?
QML and Qt Quick
2
Posts
2
Posters
817
Views
1
Watching
-
Is it possible to have more than one draw call for a QQuickItem subclass? It seems to only support one QSGGeometry instance, which suggests it cannot. For example, suppose I am drawing a multi-colored chart in QQuickItem's updatePaintNode, how would I do this if it only supports one set of vertices?
-
The QSGNode that you create in updatePaintNode() may have as many children (with their own geometries) as you'd like.