Microsoft DirectX 8.1 (Visual Basic)

Direct3DVolumeTexture8.GetVolumeLevel

Retrieves the specified volume texture level.

object.GetVolumeLevel( _ 
    Level As Long) As Direct3DVolume8

Parts

object
Object expression that resolves to a Direct3DVolumeTexture8 object.
Level
Identifies a level of the volume texture resource. This method returns a volume for the level specified by this parameter.

Return Values

A Direct3DVolume8 object, representing the returned volume level.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

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