• Advertisement
Sign in to follow this  

Whats that function that releases all resources that are D3DPOOL_DEFAULT?*solved*

This topic is 4705 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Whats that function that releases all resources that are D3DPOOL_DEFAULT? Something along the lines of EvictDefaultResources() or something. EDIT: Oh yeah, now I know. It's device->EvictManagedResources(); It evicts default resources, which is dumb, because it says evict managed resources. [Edited by - utilae on June 1, 2005 7:02:16 PM]

Share this post


Link to post
Share on other sites
Advertisement
No, it only evicts managed resources. A managed resource has two parts, a D3DPOOL_DEFAULT part, and a D3DPOOL_SYSTEMMEM part (which is used to restore the default pool part when the device is reset). The function evicts the default pool part from video memory.

The function doesn't have any effect on resources created in the D3DPOOL_DEFAULT pool.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement