docs
Loading...
Searching...
No Matches
Vertex_2f_2ui

#include <Ultralight/platform/GPUDriver.h>

Overview

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.

Member Data Documentation

◆ header_addr

uint32_t header_addr

Cell header texel address in the index data page.

◆ path_slot

uint32_t path_slot

Per-path constant-table slot (low bits) plus flags.

◆ pos

float pos[2]

Vertex position (x, y) in pixels.


The documentation for this struct was generated from the following file: