DmabufTextureBuilder.setWidth

void setWidth(uint width)

Sets the width of the texture.

The width must be set before calling [gdk.gltexture_builder.GLTextureBuilder.build].

Parameters

widthThe texture's width or 0 to unset