LOCK VERTEXDATA FOR MESH This command will lock the vertexdata of a mesh, allowing it to be modified by the vertexdata commands.
Syntax
    LOCK VERTEXDATA FOR MESH Mesh Number
Parameters
    Mesh Number
Integer This value is an integer number such as 1.
Returns
This command does not return a value.
Description
Use UNLOCK VERTEXDATA to release this lock and apply the changes you have made. If the Lock Mode flag is zero, the entire vertexdata is replaced in the vertex buffer, if the value is one the vertex buffer is merely refreshed which is considerably faster. A value of two will replace the vertexdata in the vertex buffer entirely, and it will also ensure the original data copy of the object is updated as well (useful when saving and bone animating the object).
Example Code

    No example code is provided for this command
See also
BASIC3D Commands Menu Index