DarkBASIC Professional Help File

DX11 UNLOCK IMAGE

Unlocks the pixel data for the specified image, thus updating any changes made to it to the actual image data.
Take note that the old pixel data will be kept in use until it is replaced by any updated pixel buffer when calling this function.
If the image in question isn't locked when calling this function, it will do nothing.

Syntax

    DX11 UNLOCK IMAGE img

Parameters

    img

> Dword
> The image to unlock the pixel buffer of.

Returns

This function does not return a value.

See also

IMAGE Functions Menu
DX11 Function Categories