d2dgame v2.0.3 (2016-04-16T08:21:01Z)
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*.