MemoryTexture
constructor(width: <Error class: unknown class>, height: <Error class: unknown class>, format: MemoryFormat, bytes: <Error class: unknown class>, stride: <Error class: unknown class>)
Creates a new texture for a blob of image data.
The GBytes
must contain @stride × @height pixels in the given format.
Return
A newly-created GdkTexture
Parameters
width
the width of the texture
height
the height of the texture
format
the format of the data
bytes
the GBytes
containing the pixel data
stride
rowstride for the data
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)