Texture
- this
this(int width, int height)
Creates a new blank texture using the specified width and height
- this
this(ubyte[] data, int width, int height)
A destructor is present on this object, but not explicitly documented in the source.
- getData
ubyte[] getData()
- recreate
void recreate(ubyte[] data, int width, int height)
- resize
void resize(int width, int height)
Resizes texture, preserving data
- update
void update(ubyte[] data)
- update
void update(ubyte[] data, int x, int y, int width, int height)
Updates part of the texture
- height
int height [@property getter]
- width
int width [@property getter]
- cacheFile
Texture cacheFile(string path)
- fetch
Texture fetch(string path)
- id
uint id;