Add cogl_vertex_buffer_is_indices to the public headers

This function has always been defined in the shared library but it was
missed from the public headers.
This commit is contained in:
Neil Roberts 2010-07-09 18:24:28 +01:00
parent 89cb325fd4
commit 0e839c3769
2 changed files with 16 additions and 0 deletions

View File

@ -457,6 +457,21 @@ cogl_vertex_buffer_indices_get_for_quads (unsigned int n_indices);
gboolean
cogl_is_vertex_buffer (CoglHandle handle);
/**
* cogl_is_vertex_buffer_indices:
* @handle: a #CoglHandle
*
* Checks whether @handle is a handle to the indices for a vertex
* buffer object
*
* Return value: %TRUE if the handle is indices, and %FALSE
* otherwise
*
* Since: 1.4
*/
gboolean
cogl_is_vertex_buffer_indices (CoglHandle handle);
G_END_DECLS
#endif /* __COGL_VERTEX_BUFFER_H__ */

View File

@ -432,6 +432,7 @@ CoglIndicesType
cogl_vertex_buffer_indices_new
cogl_vertex_buffer_draw_elements
cogl_vertex_buffer_indices_get_for_quads
cogl_is_vertex_buffer_indices
<SUBSECTION Private>
cogl_vertex_buffer_indices_get_type