DarkBASIC Professional Help File

DX11 FLIP SPRITE

Flips the drawing of the specified sprite vertically so that its pixels are drawn from
bottom to top from the source image (section) instead of top to bottom.
Note that calling this function twice will reset the vertical ordering back to the default one.
Calling this function is equivalent of calling DX11 SET SPRITE UV with inverted top and bottom V coordinates.

Syntax

    DX11 FLIP SPRITE sprite

Parameters

    sprite

> Dword
> The sprite to flip the drawing of vertically.

Returns

This function does not return a value.

See also

SPRITE Functions Menu
DX11 Function Categories