Cogl.Display.prototype.set_onscreen_template
function set_onscreen_template(onscreen_template: Cogl.OnscreenTemplate): void {
// Gjs wrapper for cogl_display_set_onscreen_template()
}
Specifies a template for creating Cogl.Onscreen framebuffers.
Depending on the system, the constraints for creating Cogl.Onscreen framebuffers need to be known before setting up a Cogl.Display because the final setup of the display may constrain how onscreen framebuffers may be allocated. If Cogl knows how an application wants to allocate onscreen framebuffers then it can try to make sure to setup the display accordingly.
Since 1.16
- onscreen_template
A template for creating Cogl.Onscreen framebuffers