Microsoft DirectX 8.1 (Visual Basic)

Direct3DVolumeTexture8.UnlockBox

Locks a box on a volume texture resource.

object.UnlockBox( _ 
    Level As Long)

Parts

object
Object expression that resolves to a Direct3DVolumeTexture8 object.
Level
Specifies the level of the volume texture resource to lock.

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.

See Also

Direct3DVolumeTexture8.LockBox