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