Skip to content
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

Open
PearCoding opened this issue Feb 4, 2022 · 0 comments
Open

Resource management #17

PearCoding opened this issue Feb 4, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@PearCoding
Copy link
Owner

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.

@PearCoding PearCoding added the enhancement New feature or request label Feb 4, 2022
@PearCoding PearCoding added this to the v0.3 milestone Feb 4, 2022
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
@PearCoding PearCoding modified the milestones: v0.3, v0.4 Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant