ExtrudeModifier
Adds a 3D extrude/bevel effect by appending a stack of progressively offset duplicate quads behind the face, shaded across a near→far colour gradient.
Remarks
public Vector2 Offset{ get; set }Per-step displacement of the extrusion. A per-range value overrides it.
public Color32 NearColor{ get; set }Colour of the face-adjacent (near) slice. A per-range value overrides it.
public Color32 FarColor{ get; set }Colour of the deepest (far) slice. A per-range value overrides it.
When true, layers alternate between the near and far face colours rather than blending across, producing a faceted bevel highlight. The layer count effectively doubles (Steps × 2) because each step contributes a near face and a side face.
protected override void OnApply(in RangeApplyContext context)Layer-major flush: every glyph's deepest slice first, then every glyph's next slice, …, then the face. Each layer maintains its own emit buffer, so painter order survives inter-glyph overlap when the cumulative extrusion offset exceeds glyph advance. All slices record the sequence captured for their glyph; the generator's stable sort then keeps the deepest-first emission order within the layer.
Not used — ExtrudeModifier bypasses the base emit-queue indirection and writes all per-layer slots directly inside its OnFlush override.
