d2dgame v3.0.0-beta.3 (2021-12-03T16:28:11Z)
Dub
Repo
Bitmap.load
d2d
rendering
bitmap
Bitmap
Loads a png/webp/tiff/bmp from a file on the filesystem.
class
Bitmap
version(BindSDL_Image)
static
Bitmap
load
(
string
file
)
Meta
Source
See Implementation
d2d
rendering
bitmap
Bitmap
constructors
this
destructors
~this
functions
convert
dispose
fill
getPixel
getPixelRGBA
mapRGB
mapRGBA
save
setPixel
setPixelRGBA
properties
height
surface
valid
width
static functions
fromSurface
load
Loads a png/webp/tiff/bmp from a file on the filesystem.