Struct gfx_debug_draw::DebugRenderer
[−]
[src]
pub struct DebugRenderer<R: Resources, F: Factory<R>> { // some fields omitted }
pub struct DebugRenderer<R: Resources, F: Factory<R>> { // some fields omitted }
impl<R: Resources, F: Factory<R>> DebugRenderer<R, F>
[src]fn new(factory: F, text_renderer: Renderer<R, F>, initial_buffer_size: usize) -> Result<DebugRenderer<R, F>, DebugRendererError>
fn draw_line(&mut self, start: [f32; 3], end: [f32; 3], color: [f32; 4])
fn draw_marker(&mut self, position: [f32; 3], size: f32, color: [f32; 4])
fn draw_text_on_screen(&mut self, text: &str, screen_position: [i32; 2], color: [f32; 4])
fn draw_text_at_position(&mut self, text: &str, world_position: [f32; 3], color: [f32; 4])
fn render<S: Stream<R>>(&mut self, stream: &mut S, projection: [[f32; 4]; 4]) -> Result<(), DebugRendererError>