当前位置:网站首页>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。
边栏推荐
- 321. Chessboard segmentation (2D interval DP)
- leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)
- Construction and maintenance of business websites [12]
- 迁移云计算工作负载的四个基本策略
- TSINGSEE青犀平台如何实现同一节点同时播放多个视频?
- Electronic Society C language level 1 32, calculate the power of 2
- 现货黄金分析的技巧有什么呢?
- Selection of field types for creating tables in MySQL database
- new和malloc的区别
- Modeling essays series 124 a simple coding method
猜你喜欢
Five skills of adding audio codec to embedded system
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
leetcode2310. The one digit number is the sum of integers of K (medium, weekly)
Medical management system (C language course for freshmen)
MySQL view concept, create view, view, modify view, delete view
What is AQS and its principle
How to use redis ordered collection
人工智能在网络安全中的作用
JMeter (II) - install the custom thread groups plug-in
matlab 使用 audioread 、 sound 读取和播放 wav 文件
随机推荐
leetcode2310. 个位数字为 K 的整数之和(中等,周赛)
Medical management system (C language course for freshmen)
This is the report that leaders like! Learn dynamic visual charts, promotion and salary increase are indispensable
PR second training
How to solve MySQL master-slave delay problem
Word search applet design report based on cloud development +ppt+ project source code + demonstration video
leetcode2309. The best English letters with both upper and lower case (simple, weekly)
MATLAB realizes voice signal resampling and normalization, and plays the comparison effect
np.where 和 torch.where 用法
Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage
Redis环境搭建和使用的方法
Openssl3.0 learning XXI provider encoder
自动浏览拼多多商品
Cross domain? Homology? Understand what is cross domain at once
MySQL constraints and multi table query example analysis
Post infiltration flow encryption
Modeling essays series 124 a simple coding method
Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory
开发工具创新升级,鲲鹏推进计算产业“竹林”式生长
Android: the kotlin language uses grendao3, a cross platform app development framework