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 vertex data with a single function call, use D3DVertexBuffer8GetData.
To lock fill, and unlock vertex data with a single function call, use D3DVertexBuffer8SetData.
Direct3DVertexBuffer8.Lock, D3DVertexBuffer8GetData, D3DVertexBuffer8SetData