How to Simply Manage Texture Release?

Looks like asset.unload should release the VRAM used by the texture and you can use asset.loaded to check if the resource has been loaded.

Links:

https://developer.playcanvas.com/en/api/pc.Asset.html#loaded
https://developer.playcanvas.com/en/api/pc.Asset.html#unload