MCPcopy Index your code
hub / github.com/Twinklebear/webgpu-0-to-gltf

github.com/Twinklebear/webgpu-0-to-gltf @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
234 symbols 359 edges 47 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

From 0 to glTF with WebGPU Code

This repo contains the code for each post in my "From 0 to glTF with WebGPU" blog series. These repos all use my webgpu-webpack To run an example from its subdirectory you can simply run npm install followed by npm run serve. Then open Chrome Beta/Canary (or stable once 113 is out) and point it at localhost:8080.

Posts

The First Triangle

Bind Groups

The First Mesh

Drawing the Full glTF Scene

Basic Materials and Textures

Core symbols most depended-on inside this repo

create
called by 20
5-textures-ts/src/gltf_texture.ts
buildRenderPipeline
called by 4
5-textures-ts/src/gltf_mesh.ts
buildRenderPipeline
called by 4
4-full-scene/src/glb.js
buildRenderPipeline
called by 4
4-full-scene-ts/src/glb_mesh.ts
setUsage
called by 3
5-textures-ts/src/gltf_texture.ts
upload
called by 3
5-textures-ts/src/gltf_texture.ts
render
called by 3
5-textures-ts/src/gltf_mesh.ts
addUsage
called by 3
5-textures-ts/src/gltf_buffer.ts

Shape

Method 97
Class 70
Function 55
Enum 12

Languages

TypeScript100%

Modules by API surface

4-full-scene-ts/src/glb_mesh.ts45 symbols
4-full-scene/src/glb.js42 symbols
3-first-mesh-ts/src/glb_mesh.ts33 symbols
3-first-mesh/src/glb.js30 symbols
5-textures-ts/src/gltf_mesh.ts15 symbols
5-textures-ts/src/gltf_texture.ts14 symbols
5-textures-ts/src/gltf_enums.ts13 symbols
5-textures-ts/src/import_glb.ts10 symbols
5-textures-ts/src/gltf_buffer.ts8 symbols
5-textures-ts/src/gltf_accessor.ts6 symbols
5-textures-ts/src/gltf_primitive.ts5 symbols
5-textures-ts/src/gltf_material.ts4 symbols

For agents

$ claude mcp add webgpu-0-to-gltf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact