What are buffers in javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are buffers in javascript

I making a game using webGl and js and I need 3d models to be stored in the client memory , can buffers be useful

9th Feb 2017, 11:47 AM
Mohamed Hanafy
Mohamed Hanafy - avatar
1 Answer
+ 3
check out whether ArrayBuffer fulfills your needs: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer However, browser compatibility still appears a bit restricted with regards to the full scope of the object. But maybe you can give it a try.
27th Feb 2017, 8:45 AM
Senfman
Senfman - avatar