GLArea.setAutoRender

Sets whether the GtkGLArea is in auto render mode.

If @auto_render is %TRUE the [signal@Gtk.GLArea::render] signal will be emitted every time the widget draws. This is the default and is useful if drawing the widget is faster.

If @auto_render is %FALSE the data from previous rendering is kept around and will be used for drawing the widget the next time, unless the window is resized. In order to force a rendering [method@Gtk.GLArea.queue_render] must be called. This mode is useful when the scene changes seldom, but takes a long time to redraw.

class GLArea
void
setAutoRender
()

Parameters

autoRender bool

a boolean

Meta