Branimir Karadžić пре 7 година
родитељ
комит
305cc6351f
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      include/bgfx/bgfx.h

+ 7 - 0
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);