pub struct Drawer<R: Resources> { /* fields omitted */ }
Methods
fn new<F>(factory: &mut F, col: &RenderTargetView<R, (R8_G8_B8_A8, Unorm)>, texture_count: usize, vbo_size: usize, ebo_size: usize, command_buffer: NkBuffer) -> Drawer<R> where F: Factory<R>
fn add_texture<F>(&mut self, factory: &mut F, image: &[u8], width: u32, height: u32) -> NkHandle where F: Factory<R>
fn draw<F, B: CommandBuffer<R>>(&mut self, ctx: &mut NkContext, cfg: &mut NkConvertConfig, encoder: &mut Encoder<R, B>, factory: &mut F, tmp: &mut [u16], width: u32, height: u32, scale: NkVec2) where F: Factory<R>