libghostty
Loading...
Searching...
No Matches
GhosttyRenderStateRowId Struct Reference

#include <ghostty/vt/render.h>

Data Fields

uint64_t bits [2]

Detailed Description

The identity of a row across render state updates.

Treat this value as opaque. Two ids are the same when both words are equal. No other comparison or interpretation is meaningful, and the contents may change between library versions. A zero-initialized id is never valid, so it can be used to mean "no row".

bool same = a.bits[0] == b.bits[0] && a.bits[1] == b.bits[1];

See "Row Identity" in the render state overview for how to use ids.

Definition at line 299 of file render.h.

Field Documentation

◆ bits

uint64_t bits[2]

Opaque id data. Compare both words for equality.

Definition at line 301 of file render.h.


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