Microsoft DirectX 8.1 (Visual Basic)

Direct3DTexture8.UnlockRect

Unlocks a rectangle on a texture resource.

object.UnlockRect( _ 
    Level As Long)

Parts

object
Object expression that resolves to a Direct3DTexture8 object.
Level
Specifies the level of the texture resource to unlock.

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

Direct3DTexture8.LockRect