Microsoft DirectX 9.0 SDK Update (October 2004)

Texture.GetLevelDescription Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves a level description of a texture resource.

Definition

Visual Basic .NET Public Function GetLevelDescription( _
    ByVal level As Integer _
) As SurfaceDescription
C# public SurfaceDescription GetLevelDescription(
    int level
);
Managed C++ public: SurfaceDescription GetLevelDescription(
    int level
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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