Blender V4.5
wmTimer Struct Reference

#include <WM_types.hh>

Public Attributes

wmTimernext
 
wmTimerprev
 
wmWindowwin
 
double time_step
 
wmEventType event_type
 
wmTimerFlags flags
 
void * customdata
 
double time_duration
 
double time_delta
 
double time_last
 
double time_next
 
double time_start
 
bool sleep
 

Detailed Description

Definition at line 949 of file WM_types.hh.

Member Data Documentation

◆ customdata

◆ event_type

wmEventType wmTimer::event_type

Set by timer user, goes to event system.

Definition at line 958 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ flags

wmTimerFlags wmTimer::flags

Various flags controlling timer options, see below.

Definition at line 960 of file WM_types.hh.

Referenced by WM_event_timer_add_notifier(), WM_event_timer_free_data(), WM_event_timer_remove(), and WM_event_timer_sleep().

◆ next

wmTimer* wmTimer::next

Definition at line 950 of file WM_types.hh.

◆ prev

wmTimer * wmTimer::prev

Definition at line 950 of file WM_types.hh.

◆ sleep

bool wmTimer::sleep

Internal, put timers to sleep when needed.

Definition at line 976 of file WM_types.hh.

Referenced by WM_event_timer_sleep().

◆ time_delta

double wmTimer::time_delta

Time since previous step in seconds.

Definition at line 967 of file WM_types.hh.

Referenced by blender::ed::space_node::node_insert_offset_modal(), and screen_animation_step_invoke().

◆ time_duration

double wmTimer::time_duration

◆ time_last

double wmTimer::time_last

Internal, last time timer was activated.

Definition at line 970 of file WM_types.hh.

Referenced by screen_animation_step_invoke(), WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_next

double wmTimer::time_next

Internal, next time we want to activate the timer.

Definition at line 972 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_start

double wmTimer::time_start

Internal, when the timer started.

Definition at line 974 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_step

double wmTimer::time_step

Set by timer user.

Definition at line 956 of file WM_types.hh.

Referenced by screen_animation_step_invoke(), WM_event_timer_add(), WM_event_timer_add_notifier(), and WM_jobs_start().

◆ win

wmWindow* wmTimer::win

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