IMesh::LockMesh

Locks the mesh so other calls to IMesh cannot modify the data. This will also prevent other threads from modifying the data while the lock is held. UnlockMesh must be called once for every call to LockMesh.

   

HRESULT LockMesh( fragVertex** ppVertex, long* pVertexCount, fragTriangle** ppFaces, long* pFaceCount );

Parameters

ppVertex
[out,size_is(,*pVertexCount)]
pVertexCount
[out]
ppFaces
[out,size_is(,*pFaceCount)]
pFaceCount
[out]

Return Values

Remarks

See Also

fragTriangle, fragVertex, IMesh

Copyright © 2004-2010 Fragmosoft