set_onscreen_template


Description:

public void set_onscreen_template (OnscreenTemplate onscreen_template)

Specifies a template for creating Onscreen framebuffers.

Depending on the system, the constraints for creating Onscreen framebuffers need to be known before setting up a 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.

Parameters:

this

a Display

onscreen_template

A template for creating Onscreen framebuffers