d2dgame v3.0.0-beta.3 (2021-12-03T16:28:11Z)
Dub
Repo
Bitmap.fromSurface
d2d
rendering
bitmap
Bitmap
Creates a bitmap from a
SDL_Surface*
.
class
Bitmap
static
Bitmap
fromSurface
(
SDL_Surface
*
surface
)
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
Creates a bitmap from a SDL_Surface*.