DarkBASIC Professional Help File

DX11 DELETE IMAGE

Deletes the specified image.
Take note that the DX11 engine uses reference counting for all such instances. As such the image will not actually be deleted until
nothing else is referencing it (such as a sprite or an object using it as a texture). It is not safe to use the image from DBPro after
calling this function though and it should be considered deleted.

Syntax

    DX11 DELETE IMAGE img

Parameters

    img

> Dword
> The image to be deleted.

Returns

This function does not return a value.

See also

IMAGE Functions Menu
DX11 Function Categories