Cogl.foreach_feature

function foreach_feature(context: Cogl.Context, callback: Cogl.FeatureCallback): void {
    // Gjs wrapper for cogl_foreach_feature()
}
  

Iterates through all the context level features currently supported for a given context and for each feature callback is called.

Since 1.10

context

A Cogl.Context pointer

callback

A Cogl.FeatureCallback called for each supported feature