A WebGPU retro game engine for TypeScript, inspired by RetroBlit. Build pixel-perfect 2D games with a clean, fantasy-console-style API.

docs(api): document maxTextureDimension2D limit on HardwareSettings dimension fields master

Add a note to the JSDoc for displaySize, canvasDisplaySize, and maxCanvasDisplaySize in HardwareSettings that in WebGPU mode each axis must not exceed the active adapter's maxTextureDimension2D limit (typically 8192 or 16384 depending on the GPU). Readers are directed to compare both the existing hard numeric caps and GPUAdapter.limits.maxTextureDimension2D when choosing dimensions. Signed-off-by: Vaclav Vancura <commit@vancura.dev> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Vaclav Vancura <commit@vancura.dev>


+15 -3
1 changed file