GlTextureBuilder
open class GlTextureBuilder(val gdkGlTextureBuilderPointer: <Error class: unknown class><<Error class: unknown class>>)(source)
GdkGLTextureBuilder
is a builder used to construct class@Gdk.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 property@Gdk.GLTextureBuilder:context, property@Gdk.GLTextureBuilder:id, property@Gdk.GLTextureBuilder:width, and property@Gdk.GLTextureBuilder:height are mandatory - and then call method@Gdk.GLTextureBuilder.build to create the new texture.
GdkGLTextureBuilder
can be used for quick one-shot construction of textures as well as kept around and reused to construct multiple textures.
Skipped during bindings generation
parameter
destroy
: GLib.DestroyNotify
Since
4.12