MemoryTextureBuilder
open class MemoryTextureBuilder(val gdkMemoryTextureBuilderPointer: <Error class: unknown class><<Error class: unknown class>>)(source)
GdkMemoryTextureBuilder
is a builder used to construct 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.
Skipped during bindings generation
method
color-state
: Property TypeInfo of getter and setter do not match
Since
4.16