Device.EvictManagedResources() Method (Microsoft.DirectX.Direct3D)

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.