MCPcopy Index your code
hub / github.com/carlosvneto/wgpu-book

github.com/carlosvneto/wgpu-book @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
622 symbols 1,031 edges 156 files 2 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Practical GPU Graphics

with wgpu and Rust

  • Creating Advanced Graphics on Native
  • Devices and the Web in Rust using wgpu -
  • the Next-Generation Graphics API

  • Tested programs under macOS Tahoe 26.4.1 and Windows 11

  • wgpu version 29.0.3 and winit version 0.30.13

  • Compile and run programs:

  • cargo run --example ch01_window
  • cargo run --example ch02_triangle

  • Open Cargo.toml to see the list of available programs

alt text

Core symbols most depended-on inside this repo

cylinder_position
called by 36
src/math_func.rs
vertex
called by 35
ch07/common/vertex.rs
create_transforms
called by 20
src/transforms.rs
create_projection
called by 16
src/transforms.rs
create_view_projection
called by 15
src/transforms.rs
cube_data
called by 8
src/vertex_data.rs
simple_surface_data
called by 8
src/surface_data.rs
light
called by 7
ch09/common/light.rs

Shape

Method 297
Function 236
Class 89

Languages

Rust100%

Modules by API surface

src/math_func.rs12 symbols
ch06/05_camera_control/state.rs11 symbols
src/surface_data.rs9 symbols
ch14/07_mandelbox/state.rs9 symbols
ch14/06_mandelbrot3d/state.rs9 symbols
ch14/05_mandelbulb/state.rs9 symbols
src/vertex_data.rs8 symbols
ch02/common/state.rs8 symbols
ch01/01_window/app.rs8 symbols
ch14/04_julia_set/state.rs7 symbols
ch14/03_mandelbrot/state.rs7 symbols
ch14/02_iterate_func/state.rs7 symbols

For agents

$ claude mcp add wgpu-book \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact