Commit Graph
8 Commits
Author SHA1 Message Date
codegirl007 fee46730b1 add shader backend + support for multiple shader formats 2026-08-01 00:41:50 -07:00
codegirl007 1a7b777b0f Initial pipeline work
Migrates the toad example from SDL’s 2D Renderer API to SDL_GPU, keeping the same Character_Data / Sprite engine API and baked asset pipeline.

- Replaces CreateWindowAndRenderer / RenderTexture with GPU device + swapchain framing (begin_frame / end_frame)
- Adds sprite vertex/fragment GLSL shaders and compiled SPIR-V (shaders/sprite.*.glsl / .spv)
- Uploads atlas PNGs as GPUTexture via transfer buffer + copy pass (with fence sync)
- Draws sprites as UV quads (DrawGPUPrimitives) using atlas frame rects from char.json
2026-07-31 19:17:47 -07:00
codegirl007 ebb6ea383f Initial pipeline work 2026-07-31 19:11:19 -07:00
codegirl007 742cfcff6a abstracting to engine package 2026-07-28 21:20:47 -07:00
codegirl007 fc1c39f4f2 render one frame only 2026-07-27 22:32:12 -07:00
codegirl007 33eb055c87 Load and render an atlas 2026-07-27 22:04:35 -07:00
codegirl007 b28c23279b example of rendering a window in SDL3 2026-07-27 21:44:45 -07:00
codegirl007 404e1d86df asset pipeline for packing sprites 2026-07-27 21:32:28 -07:00