Skip to content

chore(📚): small documentation fixes - #572

Merged
wcandillon merged 2 commits into
mainfrom
docs-small-fixes
Oct 17, 2026
Merged

wcandillon merged 2 commits into
mainfrom
docs-small-fixes

Conversation

@wcandillon

Copy link
Copy Markdown
Owner

Small fixes found while reviewing apps/docs.

  • warnIfNotHardwareAccelerated: both examples called it on top of useDevice / GPUDeviceProvider, which already call it. The usage now says so and shows the manual requestAdapter() case.
  • API overview: the "What this reference covers" list was missing Video Player and drawElementImageToTexture, and didn't point to GPUOffscreenCanvas, importDevice or adoptTexture.
  • Offscreen Canvas: document what getImageData() resolves with, and that width must be a multiple of 64 (rows are copied without padding, and WebGPU requires bytesPerRow to be a multiple of 256).
  • Three.js: the r184 leak callout explains the symptom and the workaround without RenderObjects / QuadMesh internals.
  • React Three Fiber: the model-loading tip pointed to the Expo page, which says nothing about it; now it links to Three.js → Loading assets.
  • TypeGPU: the Skia link used shopify.github.io; every other page uses wcandillon.github.io.

@wcandillon
wcandillon merged commit a570d25 into main Oct 17, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant