当前位置:网站首页>WebGPU(一):基本概念
WebGPU(一):基本概念
2022-07-02 01:59:00 【SummerLoverQy】
WebGPU
WebGP技术可以在Web上实现高性能3D图形以及数据平行计算。
什么是WebGPU
WebGPU是一种新的WebAPI,它呈现了现代计算机图形能力,特别是Direct3D 12(微软), Metal(苹果),以及Vulkan(科纳斯组织),在图形处理单元(GPU)上面实现渲染以及计算操作。
WebGPU的目的类似于WebGL系列的API,但是WebGPU可以使用GPU更加高级的功能特性。WebGL主要是用于绘制图像,但是经过一些努力也可以为其他运算使用,WebGPU为在GPU上进行一般运算提供了最好的支持。
经过W3C’s “GPU for the Web” Community Group四年的发展,WebGPU已经可以开发者在Chrome浏览器尝试使用并对API以及shading language(一种图像编程语言)提供反馈。
对于Computer Shader可以理解为一种运算方式,独立于传统的渲染管线。
平台支持
- JavaScript API
目前Google Developer 提供了一套JavaScript的API教程。
Dawn
这是一套可以用C/C++实现WebGPU功能的开源库。
因为时间原因,后续应该就是直接学习这套开源库进行开发。
利用Emscripten编译为WebAssembly在浏览器中使用。Wgpu
Wgpu是Firefox中使用的WebGPU的一个Rust实现。它被Rust生态系统中的各种GPU应用所使用,例如Veloren,一个多人的体素RPG。
边栏推荐
- Bat Android Engineer interview process analysis + restore the most authentic and complete first-line company interview questions
- This is the form of the K-line diagram (pithy formula)
- Implementation principle of city selector component
- What are the necessary things for students to start school? Ranking list of Bluetooth headsets with good sound quality
- Design and implementation of key value storage engine based on LSM tree
- Android: the kotlin language uses grendao3, a cross platform app development framework
- Opengauss database backup and recovery guide
- Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory
- MySQL constraints and multi table query example analysis
- Six lessons to be learned for the successful implementation of edge coding
猜你喜欢

跨域?同源?一次搞懂什么是跨域

The role of artificial intelligence in network security

leetcode2311. Longest binary subsequence less than or equal to K (medium, weekly)

matlab 使用 audiorecorder、recordblocking录制声音,play 播放声音,audiowrite 保存声音

开发那些事儿:如何利用Go单例模式保障流媒体高并发的安全性?

k线图形态这样记(口诀篇)

MySQL如何解决delete大量数据后空间不释放的问题

leetcode2305. Fair distribution of biscuits (medium, weekly, shaped pressure DP)

花一个星期时间呕心沥血整理出高频软件测试/自动化测试面试题和答案

Develop those things: how to use go singleton mode to ensure the security of high concurrency of streaming media?
随机推荐
How to build and use redis environment
Ubuntu20.04 PostgreSQL 14 installation configuration record
Android: the kotlin language uses grendao3, a cross platform app development framework
There are spaces in the for loop variable in the shell -- IFS variable
Opengauss database backup and recovery guide
三分钟学会基础k线图知识
leetcode2312. 卖木头块(困难,周赛)
剑指 Offer 47. 礼物的最大价值
Six lessons to be learned for the successful implementation of edge coding
Matlab uses audiorecorder and recordblocking to record sound, play to play sound, and audiobook to save sound
Discussion on the idea of platform construction
Logging only errors to the console Set system property ‘log4j2. debug‘ to sh
1069. Division of convex polygons (thinking, interval DP)
Five skills of adding audio codec to embedded system
MySQL如何解决delete大量数据后空间不释放的问题
new和malloc的区别
1218 square or round
leetcode373. 查找和最小的 K 对数字(中等)
Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory
The difference between new and malloc