Vixen
02b45cc4
csharp
public readonly record struct UiInterface

One interface, as the renderer sees it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Called UiInterface rather than UiSurface, which is what it was. UiSurface now means something in Vixen.Ui — one of the windows a document is shown in — and two types of that name a namespace apart is a trap rather than an ambiguity: a file that imports both compiles until somebody removes the wrong using, and the two are close enough in meaning that the mistake reads as correct.

Fields and properties (4)

  • public UiGeometry Geometry

    This frame's geometry.

  • public GlyphAtlas Atlas

    The glyph atlas its text draws from.

  • public Int2 Surface

    How large the target is, in document pixels.

  • public uint Order

    Where it sits among the interfaces, lowest drawn first.

Methods (1)

  • public UiInterface(UiGeometry Geometry, GlyphAtlas Atlas, Int2 Surface, uint Order)

    One interface, as the renderer sees it.

Used by (1)

  • UiRenderFeatureVixen.Ui.Renderer