webgpu-impl-instancing-indirect
OfficialWebGPU instancing and indirect draws, safely.
AuthorImpertio-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents corrupt geometry, broken instance indexing, and silent WebGPU draw bugs when rendering many copies of the same mesh or when letting the GPU decide draw counts.
Core Features & Use Cases
- Instanced Rendering: Draw thousands of objects in one call with instanceCount instead of looping draw calls on the CPU.
- Indirect and GPU-Driven Workflows: Use drawIndirect, drawIndexedIndirect, and dispatchWorkgroupsIndirect when compute shaders write counts and parameters into buffers.
- Validation Guardrails: Enforce exact record sizes, 4-byte alignment, complete parameter writes, and correct firstInstance handling.
- Fallback-Safe Multi-Draw Guidance: Handle experimental multiDrawIndirect paths with feature checks and stable loop-based fallbacks.
- Use Case: Generate a particle system, culling pass, or large scene renderer that keeps the CPU out of the hot path while preserving correct buffer layouts.
Quick Start
Ask the assistant to generate a WebGPU instanced or indirect draw implementation for your mesh, including the correct buffer layout, alignment, and feature checks.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: webgpu-impl-instancing-indirect Download link: https://github.com/Impertio-Studio/WebGPU-Claude-Skill-Package/archive/main.zip#webgpu-impl-instancing-indirect Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.