Skip to content

Reduce the amount of iteration when buliding command buffers #135

@BenjaFriend

Description

@BenjaFriend

Right now we rebuild the command buffers every frame. This is relatively cheap since we re-use the buffers and makes managing them much simpler.

However, we do have the cost of iterating through all objects every frame then. This doesn't really need to happen, and we should really have a state system that manages if a mesh is dirty/needs to be updated.

At a minimum we need to update the UBO's of dirty entities every frame.

Metadata

Metadata

Assignees

Labels

PRI 3Priority 3; Known problemenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions