GlTextureBuilder
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.DestroyNotifymethod
get_update_region
: Return type cairo.Region is unsupportedparameter
region
: cairo.Regionmethod
update-region
: Property has no getter nor setter
Since
4.12