?/TD>
Microsoft DirectX 9.0

ID3DXPMesh::UnlockVertexBuffer Method


Unlocks a vertex buffer.

Syntax

HRESULT UnlockVertexBuffer(VOID);

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.



See Also

ID3DXBaseMesh::LockVertexBuffer, ID3DXMesh::LockVertexBuffer, ID3DXPMesh::LockVertexBuffer


© 2002 Microsoft Corporation. All rights reserved.