summaryrefslogtreecommitdiff
path: root/gfx/gl/glVertexArray.h
Commit message (Collapse)AuthorAge
* Avoid UB in calculating member offsetDan Goodliffe2026-03-15
| | | | Bit hacky; local dummy var to base a fake pointer on.
* Shared VAO for all 3 parts of RailVehicleClassDan Goodliffe2026-03-12
| | | | | | 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 Goodliffe2026-03-11
|
* Remove identifier naming lint comments, gl* is fineDan Goodliffe2026-03-08
|
* Add glVertexArray useBufferDan Goodliffe2026-03-07
| | | | | | Wraps glVertexArrayVertexBuffer automatically getting the buffer name from the argument and deriving the stride from the container's value_type.
* Extend glVertexArray with VertexArrayConfiguratorDan Goodliffe2026-03-06
| | | | DSA version of VertexArrayObject.
* Replace basic glVertexArray with a specific class ready for helpersDan Goodliffe2026-03-04