Export (0) Print
Expand All

GraphicsDeviceManager.RankDevices Method

Ranks the given list of devices that satisfy the given preferences.

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

protected virtual void RankDevices (
         List<GraphicsDeviceInformation> foundDevices


Type: List<GraphicsDeviceInformation>
The list of devices to rank.

RankDevices orders the provided list so that devices earlier in the list are preferred over devices later in the list. This method can remove devices from the list if they do not satisfy some custom criteria.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2014 Microsoft