public readonly record struct UiInterfaceOne 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 (5)
public UiGeometry GeometryThis frame's geometry.
public GlyphAtlas AtlasThe glyph atlas its text draws from.
public Int2 SurfaceHow large the target is, in the units the geometry was laid out in — the same rectangle UiGeometryBuilder.Build was given, which is not the framebuffer unless Scale is one. See Scale.
public uint OrderWhere it sits among the interfaces, lowest drawn first.
public float ScaleHow many framebuffer pixels one of Surface's units is.
Methods (1)
public UiInterface(UiGeometry Geometry, GlyphAtlas Atlas, Int2 Surface, uint Order)One interface, as the renderer sees it.
Used by (2)
- InterfaceInAWorldTestsVixen.Engine.Renderer.Tests
- UiRenderFeatureVixen.Ui.Renderer