Blender  V3.3
Public Attributes | List of all members
wmTimer Struct Reference

#include <WM_types.h>

Public Attributes

struct wmTimernext
 
struct wmTimerprev
 
struct wmWindowwin
 
double timestep
 
int event_type
 
wmTimerFlags flags
 
voidcustomdata
 
double duration
 
double delta
 
double ltime
 
double ntime
 
double stime
 
bool sleep
 

Detailed Description

Definition at line 856 of file WM_types.h.

Member Data Documentation

◆ customdata

void* wmTimer::customdata

◆ delta

double wmTimer::delta

Time since previous step in seconds.

Definition at line 874 of file WM_types.h.

Referenced by screen_animation_step_invoke().

◆ duration

double wmTimer::duration

◆ event_type

int wmTimer::event_type

Set by timer user, goes to event system.

Definition at line 865 of file WM_types.h.

Referenced by WM_event_add_timer(), and WM_event_add_timer_notifier().

◆ flags

wmTimerFlags wmTimer::flags

Various flags controlling timer options, see below.

Definition at line 867 of file WM_types.h.

Referenced by WM_event_add_timer_notifier(), and WM_event_remove_timer().

◆ ltime

double wmTimer::ltime

Internal, last time timer was activated.

Definition at line 877 of file WM_types.h.

Referenced by ED_refresh_viewport_fps(), WM_event_add_timer(), and WM_event_add_timer_notifier().

◆ next

struct wmTimer* wmTimer::next

Definition at line 857 of file WM_types.h.

◆ ntime

double wmTimer::ntime

Internal, next time we want to activate the timer.

Definition at line 879 of file WM_types.h.

Referenced by WM_event_add_timer(), and WM_event_add_timer_notifier().

◆ prev

struct wmTimer * wmTimer::prev

Definition at line 857 of file WM_types.h.

◆ sleep

bool wmTimer::sleep

Internal, put timers to sleep when needed.

Definition at line 883 of file WM_types.h.

◆ stime

double wmTimer::stime

Internal, when the timer started.

Definition at line 881 of file WM_types.h.

Referenced by WM_event_add_timer(), and WM_event_add_timer_notifier().

◆ timestep

double wmTimer::timestep

Set by timer user.

Definition at line 863 of file WM_types.h.

Referenced by screen_animation_step_invoke(), WM_event_add_timer(), WM_event_add_timer_notifier(), and WM_jobs_start().

◆ win

struct wmWindow* wmTimer::win

Window this timer is attached to (optional).

Definition at line 860 of file WM_types.h.

Referenced by image_view_zoom_exit(), view_zoom_exit(), viewops_data_free(), WM_event_add_timer(), and WM_event_add_timer_notifier().


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