DarkBASIC Professional Help File

DX11 SPRITE EXISTS

This function can be used to check whether the given sprite resource exists.
It's main purpose is for debugging to check if the resource has yet been created, has since been deleted or if the provided
resource identifier is invalid, such as would be the case for a mistyped variable name.

Syntax

    Return Boolean = DX11 SPRITE EXISTS(sprite)

Parameters

    sprite

> Dword
> The sprite resource to check whether it exists.

Returns

true if the given sprite resource exists, or false otherwise.

See also

SPRITE Functions Menu
DX11 Function Categories