DarkBASIC Professional Help File

DX11 GET SPRITE LAYER PRIORITY

Retrieves the currently set priority value of the specified sprite layer.
A lower value means its associated sprites will be drawn on top of layers with higher priorities.

Syntax

    Return Word = DX11 GET SPRITE LAYER PRIORITY(layer)

Parameters

    layer

> Dword
> The sprite layer to retrieve the priority of.

Returns

The priority value of the given layer in the range (0..65535).

See also

SPRITELAYER Functions Menu
DX11 Function Categories