DarkBASIC Professional Help File

DX11 LOCK MESH VERTEXDATA

Locks the mesh resource so that its vertex data can be modified.
Don't forget to unlock it again when done editing, or it won't be rendered!

Syntax

    Return Boolean = DX11 LOCK MESH VERTEXDATA(mesh)

Parameters

    mesh

> Dword
> The mesh to lock the vertex data of.

Returns

True if the vertex data was successfully locked, or false otherwise.

See also

MESH Functions Menu
DX11 Function Categories