A single 2D vertex with its own color, in design-canvas coordinates. More...
#include <Mesh.h>
Public Attributes | |
| float | x |
| X position (design-canvas pixels). | |
| float | y |
| Y position (design-canvas pixels). | |
| PixelColor | c |
| Straight (non-premultiplied) RGBA color. | |
A single 2D vertex with its own color, in design-canvas coordinates.
Meshes are lists of these, three per triangle. The per-vertex color lets one draw call carry gradients and soft (feathered) edges.
| PixelColor MeshVertex::c |