Texture.LevelCount Property

Gets the number of texture levels in a multilevel texture.

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

Syntax

public int LevelCount { get; }

Property Value

The number of texture levels in the multilevel texture.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP