Blender V4.3
BPathForeachPathData Struct Reference

#include <BKE_bpath.hh>

Public Attributes

Mainbmain
 
BPathForeachPathFunctionCallback callback_function
 
eBPathForeachFlag flag
 
void * user_data
 
const char * absolute_base_path
 
IDowner_id
 
bool is_path_modified
 

Detailed Description

Storage for common data needed across the BPath 'foreach_path' code.

Definition at line 84 of file BKE_bpath.hh.

Member Data Documentation

◆ absolute_base_path

const char* BPathForeachPathData::absolute_base_path

The root to use as base for relative paths. Only set if BKE_BPATH_FOREACH_PATH_ABSOLUTE flag is set, NULL otherwise.

Definition at line 96 of file BKE_bpath.hh.

Referenced by BKE_bpath_foreach_path_allocated_process(), BKE_bpath_foreach_path_dirfile_fixed_process(), BKE_bpath_foreach_path_fixed_process(), and BKE_bpath_foreach_path_id().

◆ bmain

◆ callback_function

◆ flag

◆ is_path_modified

bool BPathForeachPathData::is_path_modified

IDTypeInfo callbacks are responsible to set this boolean if they modified one or more paths.

Definition at line 104 of file BKE_bpath.hh.

Referenced by BKE_bpath_foreach_path_allocated_process(), BKE_bpath_foreach_path_dirfile_fixed_process(), BKE_bpath_foreach_path_fixed_process(), and BKE_bpath_foreach_path_id().

◆ owner_id

ID* BPathForeachPathData::owner_id

◆ user_data


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