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.context, gdk.gltexture_builder.GLTextureBuilder.id, gdk.gltexture_builder.GLTextureBuilder.width, and gdk.gltexture_builder.GLTextureBuilder.height 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