DarkBASIC Professional Help File

DX11 UNLOCK MESH VERTEXDATA

Unlocks the mesh resource and updates any edits to it to the GPU.
This function will fail if the vertex data of the mesh was not locked when calling it.

Syntax

    Return Boolean = DX11 UNLOCK MESH VERTEXDATA(mesh)

Parameters

    mesh

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

Returns

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

See also

MESH Functions Menu
DX11 Function Categories