docs
Loading...
Searching...
No Matches
Vertex_2f_4ub_2f_2f_28f

#include <Ultralight/platform/GPUDriver.h>

Overview

Vertex layout for quad vertices.

This struct is the in-memory layout for each quad 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 tex [2]
 Texture coordinates (u, v).
float obj [2]
 Object-space coordinates (used for anti-aliasing).
float data0 [4]
 Per-vertex shader data (shader-specific).
float data1 [4]
 Per-vertex shader data (shader-specific).
float data2 [4]
 Per-vertex shader data (shader-specific).
float data3 [4]
 Per-vertex shader data (shader-specific).
float data4 [4]
 Per-vertex shader data (shader-specific).
float data5 [4]
 Per-vertex shader data (shader-specific).
float data6 [4]
 Per-vertex shader data (shader-specific).

Member Data Documentation

◆ color

unsigned char color[4]

Vertex color (RGBA, 8 bits per channel).

◆ data0

float data0[4]

Per-vertex shader data (shader-specific).

◆ data1

float data1[4]

Per-vertex shader data (shader-specific).

◆ data2

float data2[4]

Per-vertex shader data (shader-specific).

◆ data3

float data3[4]

Per-vertex shader data (shader-specific).

◆ data4

float data4[4]

Per-vertex shader data (shader-specific).

◆ data5

float data5[4]

Per-vertex shader data (shader-specific).

◆ data6

float data6[4]

Per-vertex shader data (shader-specific).

◆ obj

float obj[2]

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

◆ pos

float pos[2]

Vertex position (x, y) in pixels.

◆ tex

float tex[2]

Texture coordinates (u, v).


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