[cogl] Expose cogl_is_vertex_buffer()

The function is public and available in the shared object, but
it's not present in the header, so this is not an API/ABI change.
This commit is contained in:
Emmanuele Bassi 2009-08-04 11:10:55 +01:00
parent c9f57452e6
commit f8a964b422
2 changed files with 15 additions and 0 deletions

View File

@ -433,6 +433,20 @@ cogl_vertex_buffer_unref (CoglHandle handle);
CoglHandle
cogl_vertex_buffer_indices_get_for_quads (guint n_indices);
/**
* cogl_is_vertex_buffer:
* @handle: a #CoglHandle for a vertex buffer object
*
* Checks whether @handle is a Vertex Buffer Object
*
* Return value: %TRUE if the handle is a VBO, and %FALSE
* otherwise
*
* Since: 1.0
*/
gboolean
cogl_is_vertex_buffer (CoglHandle);
G_END_DECLS
#endif /* __COGL_VERTEX_BUFFER_H__ */

View File

@ -369,6 +369,7 @@ cogl_vertex_buffer_submit
cogl_vertex_buffer_disable
cogl_vertex_buffer_enable
cogl_vertex_buffer_draw
cogl_is_vertex_buffer
<SUBSECTION>
CoglIndicesType