Cogl.OnscreenDirtyInfo

const Cogl = imports.gi.Cogl;

let onscreenDirtyInfo = new Cogl.OnscreenDirtyInfo({
    x: value
    y: value
    width: value
    height: value
});
  

A structure passed to callbacks registered using Cogl.Onscreen.prototype.add_dirty_callback. The members describe a rectangle within the onscreen buffer that should be redrawn.

Since 1.16