int* startVertex);
/**
- * Shortcut to make space and then write verts into the made space.
- */
- bool appendVertices(size_t vertexSize,
- int vertexCount,
- const void* vertices,
- const GrVertexBuffer** buffer,
- int* startVertex);
-
- /**
* Gets the number of vertices that can be added to the current VB without
* spilling to another VB. If the pool has been reset, or the previous
* makeSpace completely exhausted a VB then the returned number of vertices
int* startIndex);
/**
- * Shortcut to make space and then write indices into the made space.
- */
- bool appendIndices(int indexCount,
- const void* indices,
- const GrIndexBuffer** buffer,
- int* startIndex);
-
- /**
* Gets the number of indices that can be added to the current IB without
* spilling to another IB. If the pool has been reset, or the previous
* makeSpace completely exhausted a IB then the returned number of indices