ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
animation_sample_t Struct Reference

For animation config, this is the live record that ties type, fps, speed, hidden_policy together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

#include <include/ascii-chat/video/anim/controller.h>

Data Fields

animation_type_t type
double seconds
uint64_t frame
bool changed
uint64_t next_frame_ns

Detailed Description

For animation config, this is the live record that ties type, fps, speed, hidden_policy together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Definition at line 31 of file video/anim/controller.h.

Field Documentation

◆ changed

bool animation_sample_t::changed

Definition at line 35 of file video/anim/controller.h.

Referenced by ui_session_render().

◆ frame

uint64_t animation_sample_t::frame

Definition at line 34 of file video/anim/controller.h.

◆ next_frame_ns

uint64_t animation_sample_t::next_frame_ns

Definition at line 36 of file video/anim/controller.h.

Referenced by ui_session_next_frame_ns().

◆ seconds

double animation_sample_t::seconds

◆ type

animation_type_t animation_sample_t::type

Definition at line 32 of file video/anim/controller.h.

Referenced by animation_apply().


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