Skip to main content

Crate wde_gizmos

Crate wde_gizmos 

Source
Expand description

WaterDropEngine’s wde-gizmos crate renders lightweight debug gizmos (lines/boxes) on top of the main scene.

Lines are recorded on the Gizmos resource from any main-world system (e.g. ResMut<Gizmos>). Every frame, the recorded lines are extracted, uploaded to the GPU and drawn in a single line-list draw call in the RenderPassTransparent pass, then the Gizmos resource is cleared so it can be recorded again for the next frame.

Structs§

Gizmos
GizmosPlugin