Share via


Texture.LevelCount Property

Gets the number of texture levels in a multilevel texture.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.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 XP SP2, Windows Vista