dgt v0.3.2 (2017-09-19T17:07:41Z)
Dub
Repo
Texture.this
dgt
texture
Texture
Load a texture from a file with a given path
this
(ubyte* data, int w, int h, PixelFormat format)
this
(string name)
struct
Texture
@
nogc
nothrow
this
(
string
name
)
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 a file with a given path