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.DestroyNotify
Since
4.12
Constructors
Properties
The color state of the texture.
The format when downloading the texture.
The update region for property@Gdk.GLTextureBuilder:update-texture.
The texture property@Gdk.GLTextureBuilder:update-region is an update for.