@cap/sdl3
v3.2.8
Zlib
.cap
✓ Verified by capdux.org
SDL3 (v3.2.8) cross-platform window, audio, input & GPU abstraction for CP via prebuilt dynamic library
Install with Cap
$ cap add @cap/sdl3
AI Interface Stub .d.cp
No .d.cp AI interface stub published for this version.
README
Markdown@cap/sdl3
SDL3 (v3.2.8) cross-platform window, audio, input, and GPU abstraction for CP, distributed with a prebuilt dynamic library (libSDL3.so) and a lightweight C ABI shim for zero local build overhead.
- Upstream: libsdl-org/SDL (
release-3.2.8) - License: Zlib
Usage
import { version, cpuCount, systemRamMB, SdlContext } from "@cap/sdl3";
pub fn main(): void! {
const v = version();
const ctx = SdlContext.initHeadless()?;
// Automatically calls SDL_Quit() via ~init() on scope exit
}Version History
1 release| Version | Format / Size | Integrity (SHA-256) | Downloads | Published | Status |
|---|---|---|---|---|---|
| v3.2.8 | .cap · 180 KB | sha256-f2626fe7c2f0dd67… | 0 | 2026-11-26 | latest |