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
related reading
- Hello Triangle 🟢 - Learn WebGPU for C++ documentationeliemichel.github.io
- Ray Tracing in One Weekendraytracing.github.io
- LearnOpenGL - Hello Trianglelearnopengl.com
- Thousands of Styled Rectangles in 120FPS on GPU - tchayen.comtchayen.com
- Why Rendering a Triangle is Complicated | LiamHzliamhz.com
- A case for learning GPU programming with a compute-first mindset – Maister's Graphics Adventuresthemaister.net
- Inside NVIDIA GPUs: Anatomy of high performance matmul kernels - Aleksa Gordićaleksagordic.com
- Wayback Machinecohost.org
- The Case for Use.GPU — Acko.netacko.net
- GitHub - adam-maj/tiny-gpu: A minimal GPU design in Verilog to learn how GPUs work from the ground up · GitHubgithub.com
- Perfecting WebGPU/Dawn native graphics for Zig | Hexops' devlogdevlog.hexops.com
- CUDA C++ Programming Guide (Legacy) — CUDA C++ Programming Guidedocs.nvidia.com