Share via


GraphicsDeviceCapabilities.MaxTextureAspectRatio Property

Gets the maximum texture aspect ratio supported by the hardware.

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

Syntax

public int MaxTextureAspectRatio { get; }

Property Value

The maximum texture aspect ratio supported by the hardware, typically a power of 2.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista