3 ms·
Is it a replacement? It looks more like a framework that lives on top of webgl.
by boppo1 4y ago
Is it a replacement? It looks more like a framework that lives on top of webgl.
- incrudible 4y agoWebGPU is to WebGL as Vulkan is to OpenGL, a lower level, low overhead graphics API.
- msk-lywenn 4y agoIt's the other way around. WebGPU is to Vulkan what WebGL is to OpenGL. It's less low level than vulkan though.
- danielvaughn 4y agoYou shouldn't be downvoted, your question is reasonable even if it demonstrates a misunderstanding. So it's not a wrapper over WebGL, it's a more modern, lower-level GPU programming model. There are equivalent efforts in native environments to replace OpenGL - notably Vulkan and (Apple's) Metal. As far as I understand, the approach allows far more flexibility, at the expense of higher complexity. It's less "stateful" than WebGL, which basically gives you a big class that manages everything OOP-style.