DarkBASIC Professional Help File

DX11 IMAGE EXISTS

This function can be used to check whether the given image 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 IMAGE EXISTS(image)

Parameters

    image

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

Returns

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

See also

IMAGE Functions Menu
DX11 Function Categories