Blender V5.3
blender::PlayDisplayContext Struct Reference

Public Attributes

ColorManagedViewSettings view_settings
ColorManagedDisplaySettings display_settings
float ui_scale
int2 size

Detailed Description

The minimal context necessary for displaying an image. Used while displaying images both on load and while playing.

Definition at line 207 of file wm_playanim.cc.

Member Data Documentation

◆ display_settings

ColorManagedDisplaySettings blender::PlayDisplayContext::display_settings

◆ size

int2 blender::PlayDisplayContext::size

Window & viewport size in pixels.

Definition at line 213 of file wm_playanim.cc.

Referenced by blender::ghost_event_proc(), blender::playanim_toscreen_ex(), and blender::wm_main_playanim_intern().

◆ ui_scale

float blender::PlayDisplayContext::ui_scale

Scale calculated from the DPI.

Definition at line 211 of file wm_playanim.cc.

Referenced by blender::playanim_toscreen_ex(), blender::playanim_window_font_scale_from_dpi(), and blender::wm_main_playanim_intern().

◆ view_settings

ColorManagedViewSettings blender::PlayDisplayContext::view_settings

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