Cogl.Renderer.prototype.check_onscreen_template

function check_onscreen_template(onscreen_template: Cogl.OnscreenTemplate): Cogl.Bool {
    // Gjs wrapper for cogl_renderer_check_onscreen_template()
}
  

Tests if a given onscreen_template can be supported with the given renderer.

Since 1.10

onscreen_template

A Cogl.OnscreenTemplate

Returns

true if the onscreen_template can be supported, else false.