forge-uniforms-and-motion
OfficialPush per-frame shader data efficiently.
Software Engineering#sdl3-gpu#push-uniforms#gpu-shaders#per-frame-data#time-based-animation#uniform-struct#shader-parameters
Authorcode-review-benchmark
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Pass per-frame data to GPU shaders using push uniforms. This approach is ideal for small, frequently changing data like time, aspect ratio, and simple matrices that drive per-frame animation.
Core Features & Use Cases
- Distinguishes push uniforms from GPU uniform buffers to select the right data path
- Defines a per-frame Uniforms struct with proper std140 alignment to match shader cbuffers
- Maps uniform slots to HLSL registers and pushes data before rendering
- Supports time-based animation, dynamic colors, and simple transform parameters
Quick Start
Define a per-frame Uniforms struct with time and aspect, populate it each frame, and push it with SDL_PushGPUVertexUniformData before beginning the render pass.
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: forge-uniforms-and-motion Download link: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/archive/main.zip#forge-uniforms-and-motion 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.