Microsoft DirectX 8.1 (Visual Basic) |
object.Unlock()
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.
To lock, read, and unlock index data with a single function call, use D3DIndexBuffer8GetData.
To lock fill, and unlock index data with a single function call, use D3DIndexBuffer8SetData.
Direct3DIndexBuffer8.Lock, D3DIndexBuffer8GetData, D3DIndexBuffer8SetData