docs
Loading...
Searching...
No Matches
Vertex_2f_4ub_2f

#include <Ultralight/platform/GPUDriver.h>

Overview

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).

Member Data Documentation

◆ color

unsigned char color[4]

Vertex color (RGBA, 8 bits per channel).

◆ obj

float obj[2]

Object-space coordinates (used for anti-aliasing).

◆ pos

float pos[2]

Vertex position (x, y) in pixels.


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