Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds map() and unmap() functions to RenderBuffer, and changes Mesh::draw() to map and update the vertex buffer instead of making a new one. Also refactors RenderBuffer to just be a blob of data as opposed to an array of elements of fixed size and type. Removes the type-specific factory methods for creating RenderBuffers in favor of a single one that just takes a buffer type and buffer size. Diffs= 06a187288 Make RenderBuffer mappable (#5907)
- Loading branch information