Microsoft DirectX 8.1 (Visual Basic)

Direct3DCubeTexture8.UnlockRect

Unlocks a rectangle on a cube texture resource.

object.UnlockRect( _ 
    FaceType As CONST_D3DCUBEMAP_FACES, _ 
    Level As Long)

Parts

object
Object expression that resolves to a Direct3DCubeTexture8 object.
FaceType
Member of the CONST_D3DCUBEMAP_FACES enumeration, identifying a cube map face.
Level
Specifies a level of a mipmapped cube texture.

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

Direct3DCubeTexture8.AddDirtyRect, Direct3DCubeTexture8.LockRect