mgsx-dev / gdx-gltf

GLTF 2.0 3D format support and PBR shader implementation for LibGDX
Apache License 2.0
214 stars 50 forks source link

Pixmaps: novel about unpredictable disposing #99

Open imcasper opened 1 year ago

imcasper commented 1 year ago

GLTFAssetLoader:ManagedTextureResolver:loadTextures (lines 54-56).

What's the point in cleaning those pixmaps SOMETIMES? As far as I understand different texture loading behavior leads to unpredictable dispose of pixmaps. In practice, most models are loaded in one way (without pixmap dispose), but some models are loaded with pixmap dispose) I use pixmaps to post-process models after loading. If I need memory, I prefer to clean up explicitly.

Thanks for attention