The WebGPU Sourcebook
Author | : Matthew Scarpino |
Publisher | : CRC Press |
Total Pages | : 385 |
Release | : 2024-10-02 |
ISBN-13 | : 9781040124765 |
ISBN-10 | : 1040124763 |
Rating | : 4/5 (63 Downloads) |
Download or read book The WebGPU Sourcebook written by Matthew Scarpino and published by CRC Press. This book was released on 2024-10-02 with total page 385 pages. Available in PDF, EPUB and Kindle. Book excerpt: The WebGPU Sourcebook: High-Performance Graphics and Machine Learning in the Browser explains how to code web applications that access the client’s graphics processor unit, or GPU. This makes it possible to render graphics in a browser at high speed and perform computationally intensive tasks such as machine learning. By taking advantage of WebGPU, web developers can harness the same performance available to desktop developers. The first part of the book introduces WebGPU at a high level, without graphics theory or heavy math. The chapters in the second part are focused on graphical rendering and the rest of the book focuses on compute shaders. This book walks through several examples of WebGPU usage. It also: Discusses the classes and functions defined in the WebGPU API and shows how they’re used in practice Explains the theory of graphical rendering and shows how to implement rendering inside a web application Examines the theory of neural networks (machine learning) and shows how to create a web application that trains and executes a neural network