d2dgame ~master (2017-12-15T21:45:17Z)
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
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*.