我使用了一个 QSGGeometry、QSGVertexColorMaterial 和一个 QSGGeometryNode,在我的 QQuickItem 派生类 MyQuickItem 上实时绘制一些东西。 以下是我的 updatePaintNode 方法,其中重新绘制逻辑的关键点。 QS...