GdkGLTextureBuilder

gdk.gltexture_builder.GLTextureBuilder is a builder used to construct gdk.texture.Texture objects from GL textures.

The operation is quite simple: Create a texture builder, set all the necessary properties - keep in mind that the properties gdk.gltexture_builder.GLTextureBuilder.GLContext, gdk.gltexture_builder.GLTextureBuilder.guint, gdk.gltexture_builder.GLTextureBuilder.gint, and gdk.gltexture_builder.GLTextureBuilder.gint are mandatory - and then call gdk.gltexture_builder.GLTextureBuilder.build to create the new texture.

gdk.gltexture_builder.GLTextureBuilder can be used for quick one-shot construction of textures as well as kept around and reused to construct multiple textures.

struct GdkGLTextureBuilder