ldk_renderer_draw_line
Submit an unlit, capped triangular prism from start to end. Thickness is the circumdiameter of its cross-section, in world units. Depth test also enables depth writes; false uses the overlay path. View may be ALL or an ID not yet submitted. Call on the render thread before render_frame; the queue is cleared after that frame is rendered. Zero-length segments succeed without drawing. Invalid/nonfinite data, nonpositive thickness and allocation failures return false.
LDK_API bool ldk_renderer_draw_line(
LDKRenderer *renderer,
LDKRendererViewId view_id,
Vec3 start,
Vec3 end,
float thickness,
u32 color,
bool depth_test
);
Parameters
LDKRenderer *renderer- Renderer receiving this request.
LDKRendererViewId view_id- Renderer view receiving this operation.
Vec3 start- Starting timestamp or location for this operation.
Vec3 end- Ending timestamp or location for this operation.
float thickness- Thickness used by this operation.
u32 color- Color value used by the operation.
bool depth_test- Depth test used by this operation.
Returns
True if the operation succeeds; false otherwise.