Unload Data from/ load Data into RAM/VRAM periodically?
I have a lot of textures that change periodically on prefabs over time.
The swapping is 100% predictable: As one texture out of lets say a 100 is "active", the next one is predetermined and the other 98 aren't needed.
I reference each texture in code as [SerialieField] private Texture2D whatever_a, whatever_b, whatever_c [etc.];
My question: Is it possible to load and unload those textures for obvious performance reasons from/into (V)RAM - which would probably be achieved by reading data from the drive?
Your answer
![](https://koobas.hobune.stream/wayback/20220612222427im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GameView.GetMainGameViewTargetSize() problem 0 Answers
Profiler knurl ... 0 Answers
Why is my Custom Inspector Causing Performance Issues? 0 Answers
any physical/practical limit to number of lights in view? 0 Answers
Different pc performance problem 0 Answers