Skip to content

Vertex layout registry + VAO cache tightening #73

@cryphon

Description

@cryphon

Why: We already cache VAOs per VertexLayout; make layouts canonical to avoid duplicates and mismatches.
What to change: Centralize VertexLayout—e.g., POSITION_NORMAL_TEX_TANGENT as a singleton/ID.
Reference in code: Mesh::vao_for() hashes VertexLayout and builds VAO lazily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementSomething can be better

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions