summaryrefslogtreecommitdiff
path: root/gfx/gl/glVertexArray.h
Commit message (Collapse)AuthorAge
* Avoid UB in calculating member offsetDan Goodliffe19 hours
| | | | Bit hacky; local dummy var to base a fake pointer on.
* Shared VAO for all 3 parts of RailVehicleClassDan Goodliffe4 days
| | | | | | Rearranges its LocationVertex to be 3 repeated Parts. Adds helpers to glvglVertexArray for useBuffer with various offsets. Render is then an iteration of the meshes and the location data at the nth offset.
* Split addAttribsFor away from requiring a buffer to bindDan Goodliffe5 days
|
* Remove identifier naming lint comments, gl* is fineDan Goodliffe7 days
|
* Add glVertexArray useBufferDan Goodliffe8 days
| | | | | | Wraps glVertexArrayVertexBuffer automatically getting the buffer name from the argument and deriving the stride from the container's value_type.
* Extend glVertexArray with VertexArrayConfiguratorDan Goodliffe9 days
| | | | DSA version of VertexArrayObject.
* Replace basic glVertexArray with a specific class ready for helpersDan Goodliffe11 days