enum DrawKind
Swift
enum DrawKind
Not documented.
Sources/LavaUI/DrawList.swift:7
Cases
case rect
Not documented.
Sources/LavaUI/DrawList.swift:8
case roundedRect
Not documented.
Sources/LavaUI/DrawList.swift:9
case text
Not documented.
Sources/LavaUI/DrawList.swift:10
case circle
Not documented.
Sources/LavaUI/DrawList.swift:11
case line
Not documented.
Sources/LavaUI/DrawList.swift:12
case pushClip
Not documented.
Sources/LavaUI/DrawList.swift:13
case popClip
Not documented.
Sources/LavaUI/DrawList.swift:14
case image
Not documented.
Sources/LavaUI/DrawList.swift:15
case beginBackdropBlur
Flush UI so far, blur the resolve under x,y,w,h (aux = radius px).
Sources/LavaUI/DrawList.swift:17
case endBackdropBlur
Closes a blur scope (bookkeeping; engine no-ops today).
Sources/LavaUI/DrawList.swift:19
case beginContentBlur
Draw everything up to the matching End into an offscreen target instead
of the frame, blur it, and composite it back over x,y,w,h with its own
alpha (aux = radius px).
Sources/LavaUI/DrawList.swift:23
case endContentBlur
Not documented.
Sources/LavaUI/DrawList.swift:24
case mesh
Filled arbitrary polygon. param/w index into meshVertices
(first index, count); aux 0 fans around vertex 0, 1 triangulates
alternating inner/outer pairs as a ring strip.
Sources/LavaUI/DrawList.swift:28
case polyline
Connected 1px line strip. param/w index into meshVertices.
Sources/LavaUI/DrawList.swift:30
case spatialTriangles
Not documented.
Sources/LavaUI/DrawList.swift:31
case linearGradientRect
Rounded rect filled with a two-stop linear ramp. aux = radius,
param = index into the frame's gradients, color = the start colour
so a consumer that ignores gradients still paints something sane.
Sources/LavaUI/DrawList.swift:35
case beginNode
Opens a scene node: param = id, x/y = local offset, w/h = viewport,
color = SceneNodeFlags. See draw_command.hpp — the renderer owns
state against the id, which is what a node has and a command does not.
Sources/LavaUI/DrawList.swift:39
case endNode
Closes the innermost node; x/y carry the content extent.
Sources/LavaUI/DrawList.swift:41
case nodeAnimate
Declares what the enclosing node should animate toward. See
NodeAnimate in draw_command.hpp.
Sources/LavaUI/DrawList.swift:44
case nodeScrollTo
Retargets the enclosing scroll node once per request serial.
Sources/LavaUI/DrawList.swift:46
case spatialBegin
Not documented.
Sources/LavaUI/DrawList.swift:47
case opaqueBounds
Declares x,y,w,h of this frame fully opaque. Draws nothing; lets a
compositor stop blending the surface and skip what is behind it.
See OpaqueBounds in draw_command.hpp.
Sources/LavaUI/DrawList.swift:51
case imageSurface
Textured quad sourced from another compositor surface. param is
the surface id; aux is the longest dest edge (0 = native).
Sources/LavaUI/DrawList.swift:54
case strokedRect
Rounded rect drawn as an outline lying inside x,y,w,h. aux = the
outer corner radius, param = stroke width in 24.8 fixed point.
See StrokedRect in draw_command.hpp.
Sources/LavaUI/DrawList.swift:58