Trait notan_glyph::GlyphPipeline
source · [−]pub trait GlyphPipeline {
fn append_to_renderer(
&mut self,
device: &mut Device,
renderer: &mut Renderer,
texture: &Texture,
clear: Option<ClearOptions>,
transform: Mat4,
size: (i32, i32),
region: Option<Rect>
);
fn upload(&mut self, device: &mut Device, instances: &[GlyphInstance]);
fn create_renderer(
&mut self,
device: &mut Device,
texture: &Texture,
clear: Option<ClearOptions>,
transform: Mat4,
size: (i32, i32),
region: Option<Rect>
) -> Renderer { ... }
}