Commit 9aee5b47 authored by Florian Oetke's avatar Florian Oetke
Browse files

API for single debug-line

parent 2af99e9f
Pipeline #2277 failed with stage
in 12 minutes and 17 seconds
......@@ -216,6 +216,12 @@ namespace mirrage::renderer {
queue.insert(queue.end(), lines.begin(), lines.end());
}
}
void debug_draw(const Debug_geometry& line)
{
if(_factory->settings().debug_geometry) {
_frame_data.debug_geometry_queue.emplace_back(line);
}
}
auto low_level_draw_queue() -> auto& { return _frame_data.geometry_queue; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment