DarkBASIC Professional Help File

DX11 MIRROR SPRITE

Mirrors the drawing of the specified sprite horizontally so that its pixels are drawn from
right to left from the source image (section) instead of left to right.
Note that calling this function twice will reset the horizontal ordering back to the default one.
Calling this function is equivalent of calling DX11 SET SPRITE UV with inverted left and right U coordinates.

Syntax

    DX11 MIRROR SPRITE sprite

Parameters

    sprite

> Dword
> The sprite to mirror the drawing of horizontally.

Returns

This function does not return a value.

See also

SPRITE Functions Menu
DX11 Function Categories