set_width


Description:

public void set_width (int width)

Sets the width of the texture.

The width must be set before calling [method@Gdk.MemoryTextureBuilder.build] and conform to size requirements of the provided format.

Parameters:

this

a `GdkMemoryTextureBuilder`

width

The texture's width or 0 to unset