Package org.gnome.gdk

Class GLTextureBuilder

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class GLTextureBuilder extends GObject
GdkGLTextureBuilder is a builder used to construct 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.GLTextureBuilder:context, Gdk.GLTextureBuilder:id, Gdk.GLTextureBuilder:width, and Gdk.GLTextureBuilder:height are mandatory - and then call build(java.lang.foreign.MemorySegment) 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.