Function
Coglhas_feature
Declaration [src]
gboolean
cogl_has_feature (
CoglContext* context,
CoglFeatureID feature
)
Description [src]
Checks if a given feature
is currently available
Cogl does not aim to be a lowest common denominator API, it aims to expose all the interesting features of GPUs to application which means applications have some responsibility to explicitly check that certain features are available before depending on them.
Parameters
context
-
Type:
CoglContext
A
CoglContext
pointer.The data is owned by the caller of the function. feature
-
Type:
CoglFeatureID
A
CoglFeatureID
.