Skip to main content

Module debug_render

Module debug_render 

Source
Expand description

Debug Visualization API

Abstract debug rendering interface for visualizing physics state. Outputs wireframe geometry (lines, points) that can be rendered by any graphics backend.

§Usage

Implement DebugRenderer trait for your graphics backend, then call debug_draw_world() each frame.

Structs§

DebugColor
RGBA color for debug rendering (0-255 per channel)
DebugDrawData
Collected debug geometry for a frame.
DebugDrawFlags
What to draw in debug mode
DebugLine
A debug line segment.
DebugPoint
A debug point.

Functions§

debug_draw_world
Draw debug visualization for a physics world