dgt v0.3.2 (2017-09-19T17:07:41Z)
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
variables
id
Load a texture from an SDL_Surface in memory