cf_draw3d_push_outline¶
Category: draw3d
GitHub: cute_draw3d.h
Draws an outline around subsequent 3d strokes.
| Parameters | Description |
|---|---|
color |
The outline color. |
width |
Outline width in world units. Zero (the default) disables it. |
Remarks¶
The 3d twin of cf_draw_push_outline: a band hugging the stroke's edge, drawn under the stroke itself, straight out of the same signed distance the stroke already evaluates -- no second pass and no extra geometry. Ideal for making a selected wireframe or gizmo read against a busy scene. Applies to strokes (lines, polylines, circles, arcs, wire boxes); solids ignore it. Unlike the 2d effect stack these ride uniforms rather than instance lanes, so strokes sharing effects still coalesce into one draw while changing effects splits the batch.
Related Pages¶
cf_draw3d_pop_outline
cf_draw3d_push_glow
cf_draw_push_outline