dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Surface.loadFromMemory
Dgame
Graphic
Surface
Surface
Load from memory.
struct
Surface
@
nogc
bool
loadFromMemory
nothrow
(
void
*
memory
,
ushort
width
,
ushort
height
,
ubyte
depth
= 32
,
const
Masks
masks
=
Masks.init
)
Meta
Source
See Implementation
Dgame
Graphic
Surface
Surface
constructors
this
destructors
~this
enums
BlendMode
functions
adaptTo
blit
blitScaled
fill
getAlphaMod
getBlendMode
getClipRect
getColorAt
getColorkey
getMasks
getPixelAt
isLocked
isValid
loadFromFile
loadFromMemory
lock
mustLock
optimizeRLE
putPixelAt
saveToFile
setAlphaMod
setBlendMode
setClipRect
setColorkey
subSurface
unlock
postblits
this(this)
properties
bits
bytes
height
pitch
pixels
refCount
width
Load from memory.