Luna::VG::IShapeDrawList::get_vertex_buffer_size

virtual u32 get_vertex_buffer_size()=0

Gets the number of vertices in the vertex buffer returned by get_vertex_buffer.

Return value

Returns the number of vertices in the vertex buffer.

Valid Usage

  • This function must be called after calling compile in order to let new shape draw commands take effect.