Lets assume I have 100 16k textures that I want to preview in my custom Editor GUI. Unity provides the AssetPreview.GetAssetPreview API to get such preview in an asynchronous way.
However, it requires as argument the actual object. Which means I need to load each 16k texture and pass the loaded object to GetAssetPreview to generate the preview. This is extremely inefficient, because loading a 16k texture...
How to use AssetPreview.GetAssetPreview efficiently?
However, it requires as argument the actual object. Which means I need to load each 16k texture and pass the loaded object to GetAssetPreview to generate the preview. This is extremely inefficient, because loading a 16k texture...
How to use AssetPreview.GetAssetPreview efficiently?