GLTextureBuilder.setId

void setId(uint id)

Sets the texture id of the texture. The texture id must remain unmodified until the texture was finalized. See [gdk.gltexture_builder.GLTextureBuilder.build] for a longer discussion.

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

Parameters

idThe texture id to be used for creating the texture