Texture.GetLevelDescription Method

Language:

Retrieves a level description of a texture resource.

Definition

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

Parameters

level System.Int32
Level of the texture resource. This method returns a surface description for the level specified by this parameter.

Return Value

Microsoft.DirectX.Direct3D.SurfaceDescription
A SurfaceDescription structure that describes the returned level.

Remarks

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center