makeGLTexture

The functions below allow you to create an OpenGL texture from an Image, and then throw away the image. These functions assume that you have already called DerelictGL.load().

version(OpenGL)
GLuint
makeGLTexture
(
string filename
,
GLuint internalFormat = 0
,
bool logging = false
,)

Meta