Cogl.foreach_feature
Description: Reference for Cogl.foreach_feature

### Function

# Coglforeach_feature

since: 13

#### Declaration [src]

    void
    cogl_foreach_feature (
      CoglContext* context,
      CoglFeatureCallback callback,
      void* user_data
    )

#### Description [src]

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

Available since: 13

#### Parameters

`context`

  Type: `CoglContext`

  A `CoglContext` pointer.

  The data is owned by the caller of the function.

`callback`

  Type: `CoglFeatureCallback`

  A `CoglFeatureCallback` called for each supported feature.

`user_data`

  Type: `void*`

  Private data to pass to the callback.

  The argument can be `NULL`.
  The data is owned by the caller of the function.