[solved] QuickItem custom drawing: multiple colors
-
It seems each node in a subclassed QQuickItem must have a single uniform color over all drawing in that node. This contrasts with a single OpenGL call where you can specify different colors for each vertex you send. I know I can use multiple nodes, but that's a problem if you have quite a variety of colors that are changing often. Is there a way to send colors per-vertex when you setup the geometry for a QQuickItem rather than just have the material/color for the entire geometry be constant?