jinleili / learn-wgpu-zh Goto Github PK
View Code? Open in Web Editor NEWLearn wgpu 中文版
Home Page: https://jinleili.github.io/learn-wgpu-zh/
License: MIT License
Learn wgpu 中文版
Home Page: https://jinleili.github.io/learn-wgpu-zh/
License: MIT License
运行环境(Google Chrome Canary 112.0.5582.0)开启webgpu flags
运行示例时报错:panicked at 'Error in Surface::configure: requested format Bgra8Unorm is not in list of supported formats: [Rgba8UnormSrgb, Rgba16Float]', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.14.0/src/backend/direct.rs:274:9
似乎只支持两种格式,不包含Bgra8Unorm。
对 Android 设备版本有一定要求
Android 平台上调试感觉可以使用 AGI(Android GPU Inspector) ,可以作为一个补充的样子。
为什么这些代码不需要开头use wgpu;就可以使用了呢?ai问不明白,而clippy说确实不需要,我想知道为什么。
https://github.com/jinleili/learn-wgpu-zh/blob/master/code/beginner/tutorial2-surface/src/main.rs
在我们要使用哪些包?处,给出的wgpu版本太老,到了“管线(Pipeline)”一节中,该版本的wgpu无法识别着色器中的vec4f
类型。
您好,请问您的文档是用的Vitepress吗?主题样式很好看,请问是怎么配置实现的呀?谢谢您!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.