OnscreenDirtyCallback


Description:

public delegate void OnscreenDirtyCallback (Onscreen onscreen, OnscreenDirtyInfo info)

Is a callback that can be registered via add_dirty_callback to be called when the windowing system determines that a region of the onscreen window has been lost and the application should redraw it.

Parameters:

onscreen

The onscreen that the frame is associated with

info

A OnscreenDirtyInfo struct containing the details of the dirty area

user_data

The user pointer passed to add_frame_callback


Namespace: Cogl
Package: doc