DmabufTextureBuilder.setWidth

Sets the width of the texture.

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

class DmabufTextureBuilder
void
setWidth
(
uint width
)

Parameters

width uint

The texture's width or 0 to unset