DarkBASIC Professional Help File

DX11 GET VERTEX LAYOUT NUM ELEMENTS

Retrieves the current number of elements in the given vertex layout.

Syntax

    Return Dword = DX11 GET VERTEX LAYOUT NUM ELEMENTS(vertLayout)

Parameters

    vertLayout

> Dword
> The vertex layout to get the number of elements of.

Returns

The number of elements currently present in the vertex layout.

See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories