fundamental-gpu-component-model
CommunityBuild cache-safe, composable GPU render components.
Software Engineering#webgpu#render pipeline caching#shader composition#resource binding#incremental rendering#gpu middleware
Authormikialex
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of defining renderable GPU entities that reliably compile the right pipeline, bind the right resources, and dispatch draw calls without cache corruption or WGPU validation errors.
Core Features & Use Cases
- Auto-renderability via super-traits: Implement
ShaderHashProvider,GraphicsShaderProvider, andShaderPassBuilderto get an auto-implementedRenderComponentrender path. - Deterministic pipeline caching: Use
hash_type_infoand a correctness-focusedhash_pipelineto ensure pipeline cache keys match shader generation and fixed-function state. - Onion/middleware composition: Use
RenderSlice-style forward (setup_pass) and reverse (post_setup_pass) ordering to compose effects cleanly. - Binding contract safety: Ensure
setup_pass/post_setup_passbinding declarations exactly matchbuild/post_buildbinding order and types.
Quick Start
Implement the three super-traits for your component type, make hash_pipeline cover every shader-generation and fixed-function pipeline input, then use your type as a render component in a pass so it binds resources and dispatches draws correctly.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: fundamental-gpu-component-model Download link: https://github.com/mikialex/rendiation/archive/main.zip#fundamental-gpu-component-model 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 471,000+ vetted skills library on demand.