file: memorytexturebuilder.aus

class: MemoryTextureBuilder

[22:7] extends: 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.

Members

Methods

class: MemoryTextureBuilderMeta

[470:14] static extends: object

Generated metadata helpers for MemoryTextureBuilder class surfaces.

Methods