mango-engine v0.1.0 (2016-10-22T22:46:47Z)
Dub
Repo
Texture
mango_engine
graphics
texture
Undocumented in source.
class
Texture {
immutable
string
filename
;
immutable
bool
useAlpha
;
protected
uint
_width
;
protected
uint
_height
;
uint
width
[@property getter];
uint
height
[@property getter];
this
(string filename, bool useAlpha);
static
Texture
textureFactory
(string filename, bool useAlpha, GraphicsBackendType backend);
void
cleanup
();
}
Constructors
this
this
(string filename, bool useAlpha)
Undocumented in source.
Members
Functions
cleanup
void
cleanup
()
Undocumented in source.
Properties
height
uint
height
[@property getter]
The height of the texture in pixels.
width
uint
width
[@property getter]
The width of the texture in pixels.
Static functions
textureFactory
Texture
textureFactory
(string filename, bool useAlpha, GraphicsBackendType backend)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_height
uint
_height
;
Undocumented in source.
_width
uint
_width
;
Undocumented in source.
filename
string
filename
;
Undocumented in source.
useAlpha
bool
useAlpha
;
Undocumented in source.
Meta
Source
See Implementation
mango_engine
graphics
texture
classes
Texture