Cogl.Renderer.prototype.set_driver
function set_driver(driver: Cogl.Driver): void {
// Gjs wrapper for cogl_renderer_set_driver()
}
Requests that Cogl should try to use a specific underlying driver for rendering.
If you select an unsupported driver then Cogl.Renderer.prototype.connect will fail and report an error. Most applications should not explicitly select a driver and should rely on Cogl automatically choosing the driver.
This may only be called on an un-connected Cogl.Renderer.
Since 1.10
- driver