Skip to content

Add Gltf ModelTemplate#207

Draft
dragbone wants to merge 6 commits intokool-engine:mainfrom
dragbone:gltf-model-template
Draft

Add Gltf ModelTemplate#207
dragbone wants to merge 6 commits intokool-engine:mainfrom
dragbone:gltf-model-template

Conversation

@dragbone
Copy link
Contributor

Summary:

  • Add release checks and bool to enabled/disable releasing of geometry to Mesh
  • Move Model generation from GltfFile to new ModelTemplate
  • Cache geometry and shader in ModelTemplate

Note: Mesh hasn't checked if its geometry has been released until now. The added release checks in Mesh will probably break some cases that "worked" with async rendering but would probably have failed on non-async backends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant