Add cogl_primitive_foreach_attribute()

This adds a public function to iterate the attributes of a
CoglPrimitive. Previously there was no way to query back the
attributes but there was methods to query back all of the other
properties.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Neil Roberts
2012-02-06 13:29:35 +00:00
parent 146803c191
commit 354e923cbf
3 changed files with 49 additions and 0 deletions

View File

@@ -238,6 +238,8 @@ cogl_primitive_set_attributes
cogl_primitive_set_indices
cogl_primitive_draw
cogl_primitive_copy
CoglPrimitiveAttributeCallback
cogl_primitive_foreach_attribute
</SECTION>
<SECTION>