当前位置:网站首页>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。
边栏推荐
猜你喜欢
mysql列转行函数指的是什么
With the innovation and upgrading of development tools, Kunpeng promotes the "bamboo forest" growth of the computing industry
Architecture evolution from MVC to DDD
人工智能在网络安全中的作用
成功实现边缘编码需要了解的六大经验教训
Implementation of Weibo system based on SSM
MySQL如何解决delete大量数据后空间不释放的问题
How to debug apps remotely and online?
matlab 使用 resample 完成重采样
【视频】马尔可夫链蒙特卡罗方法MCMC原理与R语言实现|数据分享
随机推荐
Three core problems of concurrent programming
Data analysis on the disaster of Titanic
D discard the virtual recovery method
剑指 Offer 31. 栈的压入、弹出序列
"C language programming", 4th Edition, edited by he Qinming and Yan Hui, after class exercise answers Chapter 3 branch structure Exercise 3
leetcode2309. 兼具大小写的最好英文字母(简单,周赛)
leetcode373. 查找和最小的 K 对数字(中等)
Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage
【LeetCode 43】236. The nearest common ancestor of binary tree
With the innovation and upgrading of development tools, Kunpeng promotes the "bamboo forest" growth of the computing industry
【视频】马尔可夫链原理可视化解释与R语言区制转换MRS实例|数据分享
* and & symbols in C language
Construction and maintenance of business websites [10]
【视频】马尔可夫链蒙特卡罗方法MCMC原理与R语言实现|数据分享
The concepts and differences between MySQL stored procedures and stored functions, as well as how to create them, the role of delimiter, the viewing, modification, deletion of stored procedures and fu
Construction and maintenance of business websites [15]
Openssl3.0 learning XXI provider encoder
大学的知识是否学而无用、过时?
迁移云计算工作负载的四个基本策略
Number of palindromes in C language (leetcode)