Microsoft DirectX 8.1 (Visual Basic)

Direct3DVolumeTexture8.GetLevelDesc

Retrieves a level description of a volume texture resource.

object.GetLevelDesc( _ 
    Level As Long, _ 
    pDesc As D3DVOLUME_DESC)

Parts

object
Object expression that resolves to a Direct3DVolumeTexture8 object.
Level
Identifies a level of the volume texture resource. This method returns a volume description for the level specified by this parameter.
pDesc
A D3DVOLUME_DESC type, describing the returned volume texture level.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL if one or more of the parameters are invalid.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.