EditRecord

Qualified name: algan.animation\_timeline.timeline.EditRecord

class EditRecord(indexes, values, time, seq=0, event=None)[source]

Bases: object

One recorded modification of an attribute’s buffer rows.

Stores the rows’ pre-modification values together with the end time of the animation that made the modification: materialization reconstructs a row’s base state at time t as the pre-value of the earliest-executed edit still unfinished at t, then re-applies the functions active at t on top of it, in execution order.

seq is the global execution (recording) order across all attributes, and event is the FunctionApplicationEvent whose function made the modification (None for edits recorded outside animated functions). replay_end is the edit’s effective end used for base selection: its own end time, extended over the replay windows of every earlier-executed edit that overlaps it in time on shared rows (see AnimationTimeline._resolve_replay_windows()). It is resolved to a float at render time, once context rescaling is final.

authored_target is optional: the exact value the author assigned, when the recording site can supply it (Surface.color_texture’s setter does). The state the write STORES is pre + (target - pre), which is an ulp off the authored value per element – enough to void the k / 255 provenance u8 texture storage needs. A segment window uses the authored value as its interpolation TARGET (only ever sampled through a weight, so the substitution stays inside the description’s qualified tolerance); the states constant frames read remain the stored ones, bit for bit.

Methods

Attributes

indexes

values

time

seq

event

replay_end

authored_target