csharp
public readonly record struct UiDrawA run of vertices a renderer can draw with one pipeline and one state.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ The clip is carried on the draw rather than replayed as commands. A draw list pushes and pops; a renderer sets a scissor. Resolving the stack here means the renderer never holds one — and never has to be told that a batch it skipped had left a clip behind.
Fields and properties (6)
public BatchKind KindWhich shader draws it.
public int FirstThe index of its first index, in the index buffer.
public int CountHow many indices it covers.
public int FontWhich font, for text. Zero and unread otherwise.
public Rectangle ClipThe scissor rectangle in force, in document pixels.
public ulong ImageWhich texture, for Image. Zero and unread otherwise.
Methods (1)
Used by (7)
- IconAtlasTestsVixen.Ui.Tests
- NineSliceImageTestsVixen.Ui.Tests
- SoftwareUiRasterizerVixen.Ui.Testing
- UiGeometryVixen.Ui
- UiGeometryBuilderVixen.Ui
- UiGeometryTestsVixen.Ui.Tests
- UiRendererVixen.Ui.Renderer