Microsoft DirectX 9.0 SDK Update (October 2004)

Device.EvictManagedResources Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub EvictManagedResources()
C# public void EvictManagedResources();
Managed C++ public: void EvictManagedResources();
JScript .NET 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 Microsoft® Direct3D® does not have enough display memory to perform the operation.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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