?/TD>
Microsoft DirectX 9.0

IDirect3DTexture9::GetLevelDesc Method


Retrieves a level description of a texture resource.

Syntax

HRESULT GetLevelDesc(      

    UINT Level,     D3DSURFACE_DESC *pDesc );

Parameters

Level
[in] Identifies a level of the texture resource. This method returns a surface description for the level specified by this parameter.
pDesc
[out] Pointer to a D3DSURFACE_DESC structure, describing the returned level.

Return Value

If the method succeeds, the return value is D3D_OK.

D3DERR_INVALIDCALL is returned if one of the arguments is invalid.





© 2002 Microsoft Corporation. All rights reserved.