dgt ~master (2017-09-21T16:04:46Z)
Dub
Repo
Texture.this
dgt
texture
Texture
Load a texture from an SDL_Surface in memory
this
(
ubyte
*
data
,
int
w
,
int
h
,
PixelFormat
format
)
this
(
string
name
)
this
(
SDL_Surface
*
sur
)
struct
Texture
@
nogc
nothrow
this
(
SDL_Surface
*
sur
)
Meta
Source
See Implementation
dgt
texture
Texture
constructors
this
functions
destroy
getSlice
properties
size
sourceHeight
sourceWidth
Load a texture from an SDL_Surface in memory