C3DMesh::UnlockVertexBuffer

Top  Previous  Next

Syntax:

 

UnlockVertexBuffer()

 

Purpose:

Unlocks the vertex buffer.

 

Parameters:

None.

 

Returned value(s):

None.

 

Application:

*<C3DMesh>pRet.UnlockVertexBuffer()

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

When working with vertex buffers, you are allowed to make multiple lock calls. However, you must ensure that the number of lock calls match the number of unlock calls.

 

Be sure the buffer is unlocked before trying to render the mesh.

 

See Also:

LockVertexBuffer