[ CCode ( type_id = "gdk_memory_texture_builder_get_type ()" ) ]
[ Version ( since = "4.16" ) ]
public class MemoryTextureBuilder : Object
Constructs [class@Gdk.
Texture] objects from system memory provided via [struct@GLib.Bytes].
The operation is quite simple: Create a texture builder, set all the necessary properties - keep in mind that the properties [ property@Gdk.MemoryTextureBuilder:bytes], [property@Gdk.MemoryTextureBuilder:stride], [property@Gdk.MemoryTextureBuilder:width], and [ property@Gdk.MemoryTextureBuilder:height] are mandatory - and then call [method@Gdk.MemoryTextureBuilder.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.