Skip to content

Conversation

@tracygardner
Copy link
Contributor

Summary

  • add a normalized descriptor cache for materials with reference counting and shared metadata
  • reuse cached materials for map gradients and default material creation while exposing helpers through the flock reference
  • release cached references during mesh disposal and when cloning materials to avoid leaks

Testing

  • npm test -- --runTestsByPath tests/materials.test.js (fails: Missing script "test")

Codex Task

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants