GraphicsAdapter.IsProfileSupported Method

Tests to see if the adapter supports the requested profile.

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

Syntax

public bool IsProfileSupported (
         GraphicsProfile graphicsProfile
)

Parameters

  • graphicsProfile
    The graphics profile.

Return Value

True if the adapter supports the profile; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7