Skip to content

Drawing meshes are slow.  #264

@fossegutten

Description

@fossegutten

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Feature RequestImprovements that could be made to the code/documentation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions