It derives from <GdkTexture>.
A <GdkTexture> representing a GL texture object.
Creates a new texture for an existing GL texture.
Note that the GL texture must not be modified until destroy is
called, which will happen when the GdkTexture object is finalized, or
due to an explicit call of gltexture:release.
Passed: a <GdkGLContext>.
Passed: an unsigned 32-bit integer.
the ID of a texture that was created with context
Passed: a 32-bit integer.
the nominal width of the texture
Passed: a 32-bit integer.
the nominal height of the texture
Passed: a procedure.
a destroy notify that will be called when the GL resources are released
See GDestroyNotify for how it is
called.
Passed, or left out: a foreign pointer, or a bytevector, or #f.
data that gets passed to destroy
Returned: a <GdkGLTexture>.
A newly-created <GdkTexture>
Releases the GL resources held by a
<GdkGLTexture>.
The texture contents are still available via the texture:download function, after this function has been
called.
Passed: a <GdkGLTexture>.
a <GdkTexture> wrapping a GL texture