GraphicsDeviceManager.RankDevices Method
Ranks the given list of devices that satisfy the given preferences.
Syntax
'Declaration
Protected Overridable Sub RankDevices ( _
foundDevices As List(Of GraphicsDeviceInformation) _
)
protected virtual void RankDevices (
List<GraphicsDeviceInformation> foundDevices
)
protected:
virtual void RankDevices(
List<GraphicsDeviceInformation> foundDevices
)
Parameters
- foundDevices
Type: List<GraphicsDeviceInformation>
The list of devices to rank.
Remarks
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.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone