DarkBASIC Professional Help File

DX11 LOCK MESH INDEXDATA

Locks the mesh resource so that its index data can be modified.
Don't forget to unlock it again when done editing, or it will still render with its previous index data!

Syntax

    Return Boolean = DX11 LOCK MESH INDEXDATA(mesh)

Parameters

    mesh

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

Returns

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

See also

MESH Functions Menu
DX11 Function Categories