dispose.ts
three.js and WebGL · Edit, render, publish · MIT
- What it does
disposeObject3D walks a three.js object and frees its geometries, materials and every texture on them. Use it when a scene is torn down so memory does not leak.
- Get it
disposeObject3D(group);
- Needs (the whole pack)
Nothing to read the skills. To run what they build: Node and npm, Python 3 for the helper scripts, and Chromium through Playwright for the inspector and tests. Optional and paid: Tripo, Gemini and ElevenLabs keys for the three generator skills.
- License
MIT
- From