repose-core 0.14.2

Repose's core runtime, view model, signals, composition locals, and animation clock.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::view::Scene;

#[derive(Clone, Copy)]
pub struct GlyphRasterConfig {
    pub px: f32,
}

pub trait RenderBackend {
    fn configure_surface(&mut self, width: u32, height: u32);
    fn frame(&mut self, scene: &Scene, glyph_cfg: GlyphRasterConfig);
}