Pike v8.1 release 6

Class GLUE.BaseTexture

Inheritance graph
Description

The texture base class. Using e.g. Texture might be more convenient.


Variable debug

string GLUE.BaseTexture.debug

Description

A string to identify the texture.


Variable width_u
Variable height_u

float GLUE.BaseTexture.width_u
float GLUE.BaseTexture.height_u

Description

Utilization in percent.


Variable i_width
Variable i_height

int GLUE.BaseTexture.i_width
int GLUE.BaseTexture.i_height

Description

Image dimensions


Variable t_width
Variable t_height

int GLUE.BaseTexture.t_width
int GLUE.BaseTexture.t_height

Description

Texture dimensions


Variable texture_type

int GLUE.BaseTexture.texture_type

Description

The texture type, e.g. GL.GL_TEXTURE_2D.


Method create

GLUE.BaseTexture GLUE.BaseTexture(mixed ... args)

Description

Calls construct with args.


Method destroy

protected void destroy()

Description

Properly deallocates the texture.