-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource management #17
Labels
enhancement
New feature or request
Milestone
Comments
PearCoding
added a commit
that referenced
this issue
May 27, 2022
SLebailly
pushed a commit
to SLebailly/Ignis-volumetric
that referenced
this issue
Nov 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have the luxury to handle all resource input and output via an interface. The GPU is quite memory limited. It would be a great enhancement (and the only option for some scenes) to load and unload resources depending their use.
Each shader instance is synchronized. So, build a resource map for each shader stage and only unload from "idle" resources if they are not in the current shader resource map and free memory is low.
This can be done fully automatic without changing the scene loading process.
The text was updated successfully, but these errors were encountered: