a GdkGLContext
the ID of a texture that was created with @context
the nominal width of the texture
the nominal height of the texture
a destroy notify that will be called when the GL resources are released
data that gets passed to @destroy
A newly-created GdkTexture
ConstructionException GTK+ fails to create the 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 [method@Gdk.GLTexture.release].