Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tantalor
on July 29, 2015
|
parent
|
context
|
favorite
| on:
Binary in JavaScript
What's more, when your data is in a TypedArray, you can upload the whole thing to a texture with a single call to WebGLRenderingContext#texImage2D.
mxfh
on July 29, 2015
[–]
Canvas supports a similiar method:
getImageData
returns a
Uint8ClampedArray
,
putImageData
stores it back into the context.
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: