Skip to main content

Crate graphics_core

Crate graphics_core 

Source
Expand description

§graphics-core

Shared low-level, host-agnostic WGPU graphics substrate with offscreen rendering, GPU-to-CPU readback, 2D/camera math, and reusable render pipelines.

Re-exports§

pub use glam;
pub use wgpu;
pub use batch2d::*;
pub use camera::*;
pub use handles::*;
pub use math::*;
pub use pipelines::*;
pub use readback::*;
pub use renderer::*;
pub use targets::*;

Modules§

batch2d
2D high-volume batch rendering foundations (lines, cubic beziers, grids, and proxy quads).
camera
Camera abstractions for 2D viewports and external host matrix injection.
handles
Renderer-owned handles and controllers for smooth motion interpolation (kinetocore / kinetoxus).
math
Viewport-space coordinate math and conversions.
pipelines
Pure-WGPU render pipelines with zero external UI or gizmo dependencies.
readback
CPU readback buffers for color and depth buffers (for offscreen host overlays and test harnesses).
renderer
WGPU GPU context and device/queue lifecycle orchestration.
targets
Render target abstractions supporting both surface presentation and offscreen rendering.

Constants§

VERSION
Crate version string.