cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

niexuchina
Journeyman III

How to defragment video memory?

Our game creates and destroys 3D resources during running. This over time causes more and more video memory fragments. When a stage is changed, some resources are not released and continues to be used. I'm considering doing defragmenting when a stage is changed. How to do video memory defragmenting? Is there an API to do this?

0 Likes
1 Reply
pboudier
Staff

there is not such an API.

 

depending on your OS, the driver or the OS are managing the video memory and will defragment when appropriate.

 

Pierre B.

0 Likes