GLTextureBuilder.setContext

void setContext(gdk.glcontext.GLContext context = null)

Sets the context to be used for the texture. This is the context that owns the texture.

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

Parameters

contextThe context the texture beongs to or null to unset