Description
Once QQuick3DGeometry::update() is called, it will create a new QSSGRenderMesh, and previous memory and buffer can't be released in time.
In the official example:Qt Quick 3D - Custom Geometry Example,operate like following several times and you will see that memory and GPU usage get higher and higher.
I read source code and make some change that QQuick3DGeometry::update() can work in a safe way with Immutable vertice and face amount. Notice: If your custom QQuick3DGeometry need to update with Changeable verts and faces or several submesh in one model, it doesn't work. I hope the official will fix this bug as soon as possible.
Attachments
Issue Links
- duplicates
-
QTBUG-99012 Scene rendering getting slower per QQuick3DGeometry updates
- Closed