GraphicsDevice.EvictManagedResources Method

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

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void EvictManagedResources ()

Exceptions

Exception type Condition
OutOfVideoMemoryException Direct3D does not have enough display memory to perform the operation.

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista