|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_GPUDriver.h>
Vertex layout for instance vertices.
This struct is the in-memory layout for each instance vertex (used for instanced cell rendering, see kShaderType_FillPhotonGrid).
Public Attributes | |
| float | pos [2] |
| Vertex position (x, y) in pixels. | |
| unsigned int | header_addr |
| Cell header texel address in the index data page. | |
| unsigned int | path_slot |
| Per-path constant-table slot (low bits) plus flags. | |
| unsigned int header_addr |
Cell header texel address in the index data page.
| unsigned int path_slot |
Per-path constant-table slot (low bits) plus flags.
| float pos[2] |
Vertex position (x, y) in pixels.