Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Multiple meshes or different colored vertex sets on a single QQuickItem?



  • 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.


Log in to reply