features_available


Description:


public bool features_available (FeatureFlags features)

Checks whether the given COGL features are available.

Note:

Use cogl_has_feature instead

Multiple features can be checked for by or-ing them together with the '|' operator. true is only returned if all of the requested features are available.

Parameters:

features

A bitmask of features to check for

Returns:

true if the features are available, false otherwise.


Namespace: Cogl
Package: cogl-1.0