diff --git a/include/bgfx/bgfx.h b/include/bgfx/bgfx.h index 86672554a..299f8cf6c 100644 --- a/include/bgfx/bgfx.h +++ b/include/bgfx/bgfx.h @@ -3560,6 +3560,13 @@ namespace bgfx , uint32_t _numVertices ); + /// Set number of vertices for auto generated vertices use in conjuction + /// with gl_VertexID. + /// + /// @param[in] _numVertices Number of vertices. + /// + /// @attention Availability depends on: `BGFX_CAPS_VERTEX_ID`. + /// @attention C99 equivalent is `bgfx_set_vertex_count`. /// void setVertexCount(uint32_t _numVertices);