clutter-feature

clutter-feature — Run-time detection of Clutter features

Functions

gboolean clutter_feature_available ()
ClutterFeatureFlags clutter_feature_get_all ()

Description

Parts of Clutter depend on the underlying platform, including the capabilities of the backend used and the OpenGL features exposed through the Clutter and COGL API.

It is possible to ask whether Clutter has support for specific features at run-time.

See also cogl_get_features() and CoglFeatureFlags

Functions

clutter_feature_available ()

gboolean
clutter_feature_available (ClutterFeatureFlags feature);

Checks whether feature is available. feature can be a logical OR of ClutterFeatureFlags.

Parameters

feature

a ClutterFeatureFlags

 

Returns

TRUE if a feature is available

Since: 0.2


clutter_feature_get_all ()

ClutterFeatureFlags
clutter_feature_get_all (void);

Returns all the supported features.

Returns

a logical OR of all the supported features.

Since: 0.2