Partager via


BaseTexture.LevelCount Property (Microsoft.DirectX.Direct3D)

Retrieves the number of texture levels in a multilevel texture.

Definition

Visual Basic Public ReadOnly Property LevelCount As Integer
C# public int LevelCount { get; }
C++ public:
property int LevelCount {
        int get();
}
JScript public function get LevelCount() : int

Property Value

System.Int32
An Int32Leave Site value that indicates the number of texture levels in the multilevel texture.

This property is read-only. 

Applies To

CubeTexture, Texture, VolumeTexture