DarkBASIC Professional Help File

DX11 GET VERTEX LAYOUT SIZE

Retrieves the size in bytes of the specified vertex layout.
Note: this function will only return accurate sizes after DX11 FINALIZE VERTEX LAYOUT has been called.

Syntax

    Return Dword = DX11 GET VERTEX LAYOUT SIZE(vertLayout)

Parameters

    vertLayout

> Dword
> The (finalized) vertex layout to get the size of.

Returns

The size in bytes needed to represent a vertex of this layout.

See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories