DarkBASIC Professional Help File

DX11 SET VERTEX WORD

Sets a word value for the specified semantic or offset within the given vertex buffer.

Syntax

    DX11 SET VERTEX WORD vertex, semanticName, [semanticIndex], offset, value

Parameters

    vertex

> Dword
> The vertex to set the semantic / data at the offset position of

> .

    semanticName

> String
> The semantic name of the data element to set for the vertex.

    [Optional] semanticIndex

> Dword
> The semantic index of the data element to set for the vertex. Defaults to 0.
> OR.

    offset

> Dword
> The offset to which to write the value to the vertex buffer. Note that this function takes either a semantic name and optionally an id, or an offset; not both..

    value

> Word
> The value to set to the specified semantic / offset in the vertex buffer.

Returns

This function does not return a value.

See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories