Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
EcsRateFilter Struct Reference

Apply a rate filter to a tick source. More...

#include <timer.h>

Public Attributes

ecs_entity_t src
 Source of the rate filter.
 
int32_t rate
 Rate of the rate filter.
 
int32_t tick_count
 Number of times the rate filter ticked.
 
ecs_ftime_t time_elapsed
 Time elapsed since last tick.
 

Detailed Description

Apply a rate filter to a tick source.

Definition at line 45 of file timer.h.

Member Data Documentation

◆ rate

int32_t EcsRateFilter::rate

Rate of the rate filter.

Definition at line 47 of file timer.h.

◆ src

ecs_entity_t EcsRateFilter::src

Source of the rate filter.

Definition at line 46 of file timer.h.

◆ tick_count

int32_t EcsRateFilter::tick_count

Number of times the rate filter ticked.

Definition at line 48 of file timer.h.

◆ time_elapsed

ecs_ftime_t EcsRateFilter::time_elapsed

Time elapsed since last tick.

Definition at line 49 of file timer.h.


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