[cogl-vertex-buffer] Allow querying back the number of vertices a buffer represents

This may be convenient e.g. at draw time if you are simply drawing all vertices
This commit is contained in:
Robert Bragg
2009-02-28 17:39:38 +00:00
parent 39227def4b
commit a76e333f50
3 changed files with 23 additions and 0 deletions

View File

@ -298,6 +298,7 @@ cogl_color_get_alpha_float
<FILE>cogl-vertex-buffer</FILE>
<TITLE>Vertex Buffers</TITLE>
cogl_vertex_buffer_new
cogl_vertex_buffer_get_n_vertices
cogl_vertex_buffer_ref
cogl_vertex_buffer_unref
cogl_vertex_buffer_add