HomePhabricator

- Added ElementBuffer This is to replace arrays/vectors of u16s for drawing…
Audit Requiredf0acdddbb29a

Referenced Files
None
Subscribers
None

Description

  • Added ElementBuffer This is to replace arrays/vectors of u16s for drawing points, triangles etc. It allows one to access indices as elements (e.g. Line or Triangle) rather than just arrays.

Eventually I want to change this class to provide an Accessor object that appears to be IndexType agnostic and warn you of out of range indices or optionally automatically change index type. At the moment though, you need to know the limits of your VertexBuffer.
This is related to {T297} and allows us to more forward with shader render pipelines.

Details

Auditors
Timotheos
Provenance
0xseantaskerAuthored on
0xseantaskerPushed on Mar 28 2019, 11:59 PM
Parents
rEE216861ab2741: - Added object locking to BulletMeshDebugDrawer to allow it to be used in a…
Branches
Unknown
Tags
Unknown