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