DarkBASIC Professional Help File

DX11 GET VERTEX SIZE

Retrieves the size of a vertex instance.
Calling this function is equivalent to calling DX11 GET VERTEX LAYOUT SIZE for the vertex layout used to create this vertex.

Syntax

    Return Dword = DX11 GET VERTEX SIZE(vertex)

Parameters

    vertex

> Dword
> The vertex to get the size of.

Returns

The size in bytes of the given vertex.

See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories