![]() |
![]() |
![]() |
Device.EvictManagedResources Method |
Language: |
Evicts all managed resources, including Microsoft® Direct3D® resources and those that are driver-managed.
Visual Basic .NET Public Sub EvictManagedResources() C# public void EvictManagedResources(); Managed C++ public: void EvictManagedResources(); JScript .NET public function EvictManagedResources();
This method causes only the Default copy of resources to be evicted. The resource copy in system memory is retained. For more information, see Pool.
Exceptions
OutOfVideoMemoryException Microsoft® Direct3D® does not have enough display memory to perform the operation.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center