Struct Vertex2D

Struct Documentation

struct Vertex2D

CPU position and texture coordinates; the consuming pipeline defines transform/texture semantics.

Public Members

float x

Horizontal local position; units follow the consuming geometry API.

Values are stored without validation.

float y

Vertical local position, Y-up for Anchor/grid builders.

Values are stored without validation.

float z

Local depth coordinate.

Values are stored without validation.

float u

Normalized horizontal texture coordinate for standard image pipelines.

Values are stored without validation.

float v

Normalized vertical texture coordinate; standard builders convert top-left pixels to bottom-left UV origin.

Values are stored without validation.