-
-
Notifications
You must be signed in to change notification settings - Fork 61
Drawing meshes are slow. #264
Copy link
Copy link
Open
Labels
Type: Feature RequestImprovements that could be made to the code/documentation.Improvements that could be made to the code/documentation.
Metadata
Metadata
Assignees
Labels
Type: Feature RequestImprovements that could be made to the code/documentation.Improvements that could be made to the code/documentation.
Summary:
Drawing a mesh multiple times per frame is super slow. Even slower when creating the mesh every frame. (40 fps with 325 rectangles).
Creating a complex mesh with many rectangles, using GeometryBuilder every frame, is also slow. (120fps)
Creating a complex mesh once and drawing it every frame seems fast. (500 fps).
Would it be possible to reach the same speeds from drawing a simple mesh multiple times by batching or some other approach?
Edit: sorry, didn´t read enough docs. I havent tried using one geometrybuilder to create meshes every frame yet
Why is this needed?
To be able to write simpler code and still have good performance