graphics-core 0.1.0

Shared low-level, host-agnostic WGPU graphics substrate for offscreen rendering, readback, 2D/camera math, and overlay/preview pipelines.
Documentation
# graphics-core

Shared low-level, host-agnostic WGPU graphics substrate.

## Scope

`graphics-core` provides minimal, zero-UI-framework GPU and math primitives:

- `renderer`: Headless/shared `GpuContext` initialization and platform backend selection
- `targets`: Offscreen color/depth render targets (`OffscreenTarget`, `TargetDimensions`)
- `readback`: GPU-to-CPU color and depth readback buffers and row repacking
- `math`: Viewport coordinate mapping and 3D ray unprojection (`ViewportRect`, `Ray3D`)
- `camera`: `Camera2D` and external-host `RawCamera`
- `batch2d`: GPU instance layouts for 2D lines, cubic Beziers, quads, and grids
- `handles`: Lightweight camera and float buffer handle state
- `pipelines`: `DynamicGpuBuffer`, `alpha_blit`, `composite_finalize`, `gizmo2d`, and `preview3d` (including K=4 depth-peeling OIT)

## Dependencies

Strictly minimal runtime dependencies: `wgpu = "30"`, `bytemuck = "1"`, and `glam = "0.29"`.

## License

Dual-licensed under MIT or Apache-2.0.