First Color - Learn WebGPU for C++ documentation
Resulting code: step020 The goal of this chapter is to draw a solid color all over our window. This will be the occasion to introduce 3 new concepts of WebGPU: Swap Chains, Texture Views, Render Pa...
First Color 🟢 ¶ Resulting code: step025 The goal of this chapter is to draw a solid color over our entire window. To do so, we add the following steps: We must first configure the surface of our window. Then on each frame we get the Surface Texture to draw onto. And finally we create a Render Pass to effectively draw something. Surface configuration ¶ At the end of the previous chapter, we introduced the surface object as the link between the OS window (managed by GLFW) and the WebGPU instance. However, this surface needs to be configured before we can draw on it. To understand why, we need t
Explore this link on the map →related reading
- Hello Triangle 🟢 - Learn WebGPU for C++ documentationeliemichel.github.io
- Wayback Machinecohost.org
- Thousands of Styled Rectangles in 120FPS on GPU - tchayen.comtchayen.com
- The Case for Use.GPU — Acko.netacko.net
- Why Rendering a Triangle is Complicated | LiamHzliamhz.com
- Perfecting WebGPU/Dawn native graphics for Zig | Hexops' devlogdevlog.hexops.com
- Shadersshaders.com
- Point of WebGPU on nativekvark.github.io
- LearnOpenGL - Hello Trianglelearnopengl.com
- Grainradgrainrad.com
- Departure Monodeparturemono.com
- Teaching GPU programming in p5.js: now with compute shaders - Dave Pagurekdavepagurek.com