docs.rs failed to build gfx_debug_draw-0.3.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
gfx_debug_draw-0.33.0
gfx_debug_draw
Library for batched renderering of lines and text in 3D space, using gfx-rs.
Usage
// Initializing...
// Create gfx_text::Renderer to be used by the DebugRenderer
let text_renderer = ;
let mut debug_renderer = new.ok.unwrap;
...
// In render loop...
// Draw red line from origin along x-axis
debug_renderer.draw_line;
// Draw an 'X' on the x-axis, at the end of the line drawn above.
debug_renderer.draw_text_at_position;
// Draw salmoney-colored text 10 pixels down and right from the top left corner of the screen
debug_renderer.draw_text_on_screen;
// Draw a yellow position marker
debug_renderer.draw_marker;
// Render the final batch of all lines and text currently present in the vertex/index buffers
debug_renderer.render;
Draw commands can also be queued up with static methods, which is useful when you want to debug something in a context where you have no access to the DebugRenderer instance.