std.graphics.Pixmap.Load - nitrologic/monkey2 GitHub Wiki

std::std.graphics.std.graphics.Pixmap.Load

Function Load:std:std.graphics.Pixmap( path:monkey:monkey.types.String,format:std:std.graphics.PixelFormat=Null,pmAlpha:monkey:monkey.types.Bool=false )

Loads a pixmap from a file.

Parameters
path path The file path.
format format The format to load the pixmap in.