addVertex¶
Adds a vertex to this VertexConsumer using integer screen coordinates.
This is a convenience overload that avoids repeated Int.toFloat casts when working with pixel-aligned UI geometry.
Parameters¶
-
matrix: The current pose matrix.
-
x: The x position in screen pixels.
-
y: The y position in screen pixels.
-
z: The z (depth) position.