Module vertices

Source
Expand description

Vertex formats for rects, textures, and rounded rects. GPU vertex formats for solid rects, textured quads, rounded rects, and borders.

Structsยง

BorderRRectVertex
Rounded-border SDF vertex (position, UV, color, size, radius, width).
BoxShadowVertex
Box-shadow SDF vertex (position, UV, color, paint rect, shadow shape, radius, blur).
RRectVertex
Rounded-rect SDF vertex (position, UV, color, size, radius).
RingProgressVertex
Circular progress SDF vertex (position, UV, colors, size, thickness, fraction, start angle).
StrokeVertex
Stroked polyline vertex (NDC position, physical-pixel position, RGBA).
TexVertex
Textured quad vertex (position + UV + tint).
Vertex
Solid-color triangle vertex (position + RGBA).