kaplay icon indicating copy to clipboard operation
kaplay copied to clipboard

feat: add Mesh class and drawMesh for more optimized drawing

Open mflerackers opened this issue 1 year ago • 0 comments

Rebuilding meshes on each frame is slow. Therefore we need a Mesh object which can optionally cache its data on the GPU. This way only a single draw operation needs to be sent to the GPU in order to draw it.

mflerackers avatar May 23 '24 01:05 mflerackers