GLTextureBuilder.setWidth

Sets the width of the texture.

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

class GLTextureBuilder
void
setWidth
(
int width
)

Parameters

width int

The texture's width or 0 to unset