summaryrefslogtreecommitdiff
path: root/test/test-instancing.cpp
Commit message (Collapse)AuthorAge
* Test instancing automatic unmap when count is called, add some nodiscardDan Goodliffe2023-04-22
|
* Fix the instancing maintenanceDan Goodliffe2023-04-22
|
* Instances buffer data needs to be unmapped before useDan Goodliffe2023-04-21
| | | | | Here we change quite a bit to support mapping and unmapping the buffer as required. The instance/free referencing is still broken though. We add several instances of tree in the render.
* First cut of instance vertices and proxyDan Goodliffe2023-04-17
Untested outside unit test, allows the use of a glBuffer as a storage container. To be combined with a vertex array and/or mesh etc for massing drawing with glDrawElementsInstanced