Blender V5.3
blender::WorkSpace Struct Reference

#include <DNA_workspace_types.h>

Public Attributes

ID id
ListBaseT< WorkSpaceLayout > layouts = {nullptr, nullptr}
ListBaseT< struct WorkSpaceDataRelation > hook_layout_relations = {nullptr, nullptr}
ListBaseT< wmOwnerID > owner_ids = {nullptr, nullptr}
ListBaseT< bToolRef > tools = {nullptr, nullptr}
struct Scene * pin_scene = nullptr
struct Scene * sequencer_scene = nullptr
char _pad [4] = {}
int object_mode = 0
eWorkSpaceFlags flags = {}
int order = 0
bke::WorkSpaceRuntime * runtime = nullptr
AssetLibraryReference asset_library_ref
ViewerPath viewer_path

Detailed Description

Definition at line 151 of file DNA_workspace_types.h.

Member Data Documentation

◆ _pad

char blender::WorkSpace::_pad[4] = {}

Definition at line 176 of file DNA_workspace_types.h.

◆ asset_library_ref

AssetLibraryReference blender::WorkSpace::asset_library_ref

Workspace-wide active asset library, for asset UIs to use (e.g. asset view UI template). The Asset Browser has its own and doesn't use this.

Definition at line 190 of file DNA_workspace_types.h.

Referenced by blender::blo_do_versions_300(), blender::screen_ctx_asset_library(), blender::workspace_copy_data(), and blender::workspace_init_data().

◆ flags

◆ hook_layout_relations

◆ id

◆ layouts

◆ object_mode

◆ order

int blender::WorkSpace::order = 0

Number for workspace tab reordering in the UI.

Definition at line 183 of file DNA_workspace_types.h.

Referenced by blender::workspace_copy_data().

◆ owner_ids

◆ pin_scene

struct Scene* blender::WorkSpace::pin_scene = nullptr

Optional, scene to switch to when enabling this workspace (NULL to disable). Cleared on link/append.

Definition at line 171 of file DNA_workspace_types.h.

Referenced by blender::workspace_blend_read_data(), blender::workspace_copy_data(), blender::workspace_exit(), blender::workspace_foreach_id(), and blender::workspace_scene_pinning_update().

◆ runtime

◆ sequencer_scene

◆ tools

◆ viewer_path


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