|
Ultralight C++ API 2.0.0
|
#include <Ultralight/platform/GPUDriver.h>
Vertex layout for path vertices.
This struct is the in-memory layout for each path vertex (useful for synthesizing or modifying your own vertex data).
Public Attributes | |
| float | pos [2] |
| Vertex position (x, y) in pixels. | |
| unsigned char | color [4] |
| Vertex color (RGBA, 8 bits per channel). | |
| float | obj [2] |
| Object-space coordinates (used for anti-aliasing). | |
| unsigned char color[4] |
Vertex color (RGBA, 8 bits per channel).
| float obj[2] |
Object-space coordinates (used for anti-aliasing).
| float pos[2] |
Vertex position (x, y) in pixels.