Expand description
Vertex formats for rects, textures, and rounded rects. GPU vertex formats for solid rects, textured quads, rounded rects, and borders.
Structsยง
- BorderR
Rect Vertex - Rounded-border SDF vertex (position, UV, color, size, radius, width).
- BoxShadow
Vertex - Box-shadow SDF vertex (position, UV, color, paint rect, shadow shape, radius, blur).
- RRect
Vertex - Rounded-rect SDF vertex (position, UV, color, size, radius).
- Ring
Progress Vertex - Circular progress SDF vertex (position, UV, colors, size, thickness, fraction, start angle).
- Stroke
Vertex - Stroked polyline vertex (NDC position, physical-pixel position, RGBA).
- TexVertex
- Textured quad vertex (position + UV + tint).
- Vertex
- Solid-color triangle vertex (position + RGBA).