Package org.gnome.gdk

Class MemoryTextureBuilder

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class MemoryTextureBuilder extends GObject
GdkMemoryTextureBuilder is a builder used to construct Texture objects from system memory provided via GLib.Bytes.

The operation is quite simple: Create a texture builder, set all the necessary properties - keep in mind that the properties Gdk.MemoryTextureBuilder:bytes, Gdk.MemoryTextureBuilder:stride, Gdk.MemoryTextureBuilder:width, and Gdk.MemoryTextureBuilder:height are mandatory - and then call build() to create the new texture.

GdkMemoryTextureBuilder can be used for quick one-shot construction of textures as well as kept around and reused to construct multiple textures.