Device.EvictManagedResources Method

Language:

Evicts all managed resources, including Microsoft Direct3D resources and those that are driver-managed.

Definition

Visual Basic Public Sub EvictManagedResources()
C# public void EvictManagedResources();
C++ public:
void EvictManagedResources();
JScript public function EvictManagedResources();

Remarks

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 Direct3D does not have enough display memory to perform the operation.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center