Partager via


VolumeTexture.GetLevelDescription(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves a level description of a volume texture resource.

Definition

Visual Basic Public Function GetLevelDescription( _
    ByVal level As Integer _
) As VolumeDescription
C# public VolumeDescription GetLevelDescription(
    int level
);
C++ public:
VolumeDescription GetLevelDescription(
    int level
);
JScript public function GetLevelDescription(
    level : int
) : VolumeDescription;

Parameters

level System.Int32
Value that identifies a level of the volume texture resource.

Return Value

Microsoft.DirectX.Direct3D.VolumeDescription
A VolumeDescription structure that describes the returned volume texture level.

Remarks

This method returns a volume description for the level specified by the level parameter.

Exceptions

InvalidCallException

The method call is invalid. For example, a parameter might contain an invalid value.