Cogl.foreach_feature
Description: Reference for Cogl.foreach_feature

### Function

# Coglforeach_feature

#### 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.

Stability: | Unstable
Available since: | 1.10

#### Parameters

`context` | `CoglContext`
| A `CoglContext` pointer.
| The data is owned by the caller of the function.
`callback` | `CoglFeatureCallback`
| A `CoglFeatureCallback` called for each supported feature.
`user_data` | `void*`
| Private data to pass to the callback.
| The argument can be `NULL`.
| The data is owned by the caller of the function.