Clear textures that load from assetmanager

do jmonkey has a way to clear the texture that are loaded from assetmanager?



thanks in advance

:slight_smile:

Its cleared when the cache is full and its not used anymore. If you want to clear the cache manually for some reason, theres DesktopAssetManager.clearCache()

1 Like

is it apply to android assetmanager?

I wonder the word " not used" , is it mean that detech the Mesh that contain the texture from the rootNode

or I have to delete โ€œcolorMapโ€ param from its material ?



thanks again :slight_smile:

sorry for silly question:-P

l just saw that android assetmanager is sub class of desktopassetmanager