Package: gdk
Function gdk:memory-texture-new
Lambda Listgdk:memory-texture-new (width height format bytes stride) Argumentswidth -- an integer for the width of the texture height -- an integer for the height of the texture format -- a gdk:memory-format value for the format of the data bytes -- a g:bytes instance containing the pixel data stride -- an integer for the rowstride of the data Return ValueThe newly created gdk:texture object. Details
Creates a new texture for a blob of image data. The g:bytes instance must contain stride x height pixels in the given format. | See also |
2025-3-11