Cogl.FenceCallback

function onFenceCallback(fence: Cogl.Fence): void {
}
  

The callback prototype used with Cogl.Framebuffer.add_fence_callback for notification of GPU command completion.

Since 2.0

fence

Unused. In the future this parameter may be used to pass extra information about the fence completion but for now it should be ignored.