GLTexture

Undocumented in source.

Constructors

this
this(GameManager game, string name, string filename, bool useAlpha)
Undocumented in source.

Members

Functions

cleanup
void cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
setOptions
void setOptions()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void use()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

textureId
GLuint textureId;
Undocumented in source.

Inherited Members

From Texture

name
string name;

The texture's name or identifier.

filename
string filename;

The file path of where the texture is located.

useAlpha
bool useAlpha;

If to use alpha when reading.

_width
uint _width;
Undocumented in source.
_height
uint _height;
Undocumented in source.
width
uint width [@property getter]

The width of the texture in pixels.

height
uint height [@property getter]

The height of the texture in pixels.

game
GameManager game [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
build
Texture build(GameManager game, string name, string filename, bool useAlpha)

Use this method to build the correct Texture based on the Backend being used.

cleanup
void cleanup()

Cleans up resources used by the Texture.

Meta