Expand Minimize

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

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

Definition

Visual BasicPublic Sub EvictManagedResources()
C#public void EvictManagedResources();
C++public:
void EvictManagedResources();
JScriptpublic 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.
Show:
© 2014 Microsoft