$Date$
$Revision$
-- OpenGL texture id
-- (From GL_TEXTURE)
-- Surface which is used for texture data
-- Height of texture in pixels
-- (From GL_TEXTURE)
-- Width of texture in pixels
-- (From GL_TEXTURE)
-- Is Current not freeing texture on disposal?
-- (From GL_TEXTURE)
-- Is texture valid?
-- (From GL_TEXTURE)
-- Tell Current not to free texture on disposal.
-- If you call this, you will be responsible for freeing
-- the OpenGL texture yourself using gl_delete_textures!
-- (From GL_TEXTURE)
-- Save texture in global textures list.
-- A saved texture will not be freed, even when you loose
-- the reference to the texture object. To free it later use
-- the global storage GL_TEXTURES.
-- TODO: maybe a mechanism to add an id would be nice.
-- (From GL_TEXTURE)
A texture which takes the content from an EM_SURFACE.
The texture is updated automatically when surface is modified.
The width and height of the texture will be the smallest
power of 2 which is greater than the dimensions of surface.