Microsoft DirectX 9.0 SDK Update (October 2004)

CubeTexture.GetLevelDescription Method

Language:

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

Retrieves a description of one face of a specified cube texture level.

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 a mipmapped cube texture.

Return Value

Microsoft.DirectX.Direct3D.SurfaceDescription . A SurfaceDescription structure that describes one face of the specified cube texture level.

Remarks

The SurfaceDescription structure contains Height and Width members, which indicate the size of one face of the cube. To get the size of the entire cube, multiply the data by 6.

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

See Also


© 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