Added an optional 'startvertex' argument to Mesh:setVertices, which specifies a (1-based) offset within the Mesh's vertices to replace.

This commit is contained in:
Alex Szpakowski
2015-11-26 23:04:04 -04:00
parent 3c1c13793e
commit ebf6ca822c
3 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ public:
void attachAttribute(const std::string &name, Mesh *mesh);
void *mapVertexData();
void unmapVertexData();
void unmapVertexData(size_t modifiedoffset = 0, size_t modifiedsize = -1);
/**
* Flushes all modified data to the GPU.