Method

CoglSnippetget_capability

Declaration [src]

gboolean
cogl_snippet_get_capability (
  CoglSnippet* snippet,
  GQuark* domain,
  unsigned int* capability
)

Description [src]

Retrieves the capability set with cogl_snippet_set_capability(), if any.

Parameters

domain

Type: GQuark

Return location for the capability’s domain.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
capability

Type: unsigned int*

Return location for the capability value.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if snippet has a capability set, and FALSE otherwise.