Texture

Texture.

Constructors

this
this(uint id)

Texture constructor.

this
this(uint id, Size!int size)

Texture constructor.

Members

Functions

dispose
void dispose()

Texture destructor.

Properties

id
uint id [@property getter]

Properties

id
uint id [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
nvgId
uint nvgId [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
nvgId
uint nvgId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size!int size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size!int size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

generateEmptyTexture
Texture generateEmptyTexture()

Generates an empty texture.

load
Texture load(string textureName, bool flipTexture)

Loads texture.

loadBytes
ubyte[] loadBytes(string textureName, Flag!"flipTexture" flipTexture)

Loads image.

Inherited Members

From IAsset

load
void load(string fileName, ...)
Undocumented in source.
dispose
void dispose()
Undocumented in source.

Meta