DarkBASIC Professional Help File

DX11 CREATE PIXELMAP

Creates a new pixelmap of the specified dimensions.

Syntax

    Return Dword = DX11 CREATE PIXELMAP(width, height, [fillColour])

Parameters

    width

> Dword
> The width of the pixelmap in pixels.

    height

> Dword
> The height of the pixelmap in pixels.

    [Optional] fillColour

> Dword
> An initial colour to fill the entire pixelmap with, given on the 0xaarrggbb format. Defaults to 0 (completely transparent black).

Returns

The created pixelmap.

See also

PIXELMAP Functions Menu
DX11 Function Categories