Make a texture from an image.
Generates from text. Requires ttf.d pass a pointer to the TtfFont as the first arg (it is template cuz of lazy importing, not because it actually works with different types)
Creates an empty texture class for you to use with bindFrom later Using it when not bound is undefined behavior.
A destructor is present on this object, but not explicitly documented in the source.
Calls glBindTexture
After you delete it with dispose, you may rebind it to something else with this.
Deletes the texture. Using it after calling this is undefined behavior
For easy 2d drawing of it
Returns the size of the image
Returns the texture ID
Use for glTexCoord2f
Simple class for putting a TrueColorImage in as an OpenGL texture.