Hacker News new | ask | show | jobs
by wereHamster 4419 days ago
Does it only support Triangles? What about buffers? Rendering individual triangles is not efficient if you have anything more than a simple scene.
1 comments

The API expects triangles, but it is implemented to always use buffers under the hood. Basically, mesh data of 10 triangles with 4 attributes per vertex is converted to 4 buffers, each of length 30.