-
Notifications
You must be signed in to change notification settings - Fork 0
Home
github-actions[bot] edited this page Sep 1, 2026
·
10 revisions
AP2 (Application Primitives) is a C17 kit for games and tools.
Copyright (c) 2024-2026 Jack Waechter. MIT licensed. See LICENSE.
Draw with the short names (AP_Clear, AP_FillRect, AP_Present, AP_DrawTexture). They are macros over AP_Render*.
- Getting started — install, build, first window
- Architecture — subsystems, modules, coordinate spaces
- API overview — map of every public header
- Materials and textures — PBR, specular-glossiness, unlit, custom
-
glTF models — loading
.glb/.gltf(single-file and folder-based) - Advanced PBR — Cook-Torrance BRDF, normal/metallic-roughness/emissive maps
- Best practices — code organization, memory, performance, debugging
- Material & 3D API reference — full signatures with examples
- Hello window
- Drawing in 2D
- Textures and sprites
- Input
- Audio
- Text and fonts
- Immediate GUI
- 3D
- Shaders and post-processing
- Tilemaps
- Breakout — bricks, paddle, collision, score
- Top-down walker — WASD/gamepad, camera, spatial SFX
- Desktop tool — inspector-style GUI app
- 3D: a PBR product scene — glTF/GLB loading (incl. folder-based models), studio lighting, orbit camera, per-mesh material overrides, post-processing
-
Retained-mode GUI —
AP2_GuiAdvanced: windows, layouts, theming, signals, CSS-like styling, embedded canvas widgets - Camera rigs and cinematic post — first-person/orbit rigs, screen-space picking, the full post-processing effect catalog
- Capstone: a complete application — 3D + tilemap HUD + retained GUI + spatial audio + post, wired into one app
Headers under include/AP2/ win if a tutorial and a signature disagree.
The GitHub Pages site and the wiki are published from this folder on each push.
AP2 — Application Primitives. MIT licensed. Copyright (c) 2024-2026 Jack Waechter. Generated from docs/ in the repository.
- Home
- Guides
- Tutorials
- Tutorial 01 — Hello window
- Tutorial 02 — Drawing in 2D
- Tutorial 03 — Textures and sprites
- Tutorial 04 — Input
- Tutorial 05 — Audio
- Tutorial 06 — Text and fonts
- Tutorial 07 — Immediate GUI
- Tutorial 08 — 3D
- Tutorial 09 — Shaders and post-processing
- Tutorial 10 — Breakout
- Tutorial 11 — Top-down walker
- Tutorial 12 — Desktop tool
- Tutorial 13 — Tilemaps
- Tutorial 14 — Advanced 3D: A PBR Product Scene
- Tutorial 15 — Advanced GUI: A Retained-Mode Desktop App
- Tutorial 16 — Camera Rigs and Cinematic Post-Processing
- Tutorial 17 — Capstone: A Complete Application