Function conrod::backend::piston::gfx::draw
[−]
[src]
pub fn draw<'a, 'b, P, Img, F>(
context: Context,
graphics: &'a mut G2d<'b>,
primitives: P,
glyph_cache: &'a mut GlyphCache,
image_map: &'a Map<Img>,
texture_from_image: F
) where
P: PrimitiveWalker,
F: FnMut(&Img) -> &G2dTexture<'static>,
Renders the given sequence of conrod primitives.