Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | typedef struct BakeData { | ||||
| float max_ray_distance; | float max_ray_distance; | ||||
| int pass_filter; | int pass_filter; | ||||
| char normal_swizzle[3]; | char normal_swizzle[3]; | ||||
| char normal_space; | char normal_space; | ||||
| char target; | char target; | ||||
| char save_mode; | char save_mode; | ||||
| char _pad[6]; | char margin_type; | ||||
| char _pad[5]; | |||||
| struct Object *cage_object; | struct Object *cage_object; | ||||
| } BakeData; | } BakeData; | ||||
| /** #BakeData.margin_type (char) */ | |||||
| typedef enum eBakeMarginType { | |||||
| R_BAKE_EXTEND = 0, | |||||
| R_BAKE_COPYPIXELS = 1, | |||||
| } eBakeMarginType; | |||||
| /** #BakeData.normal_swizzle (char) */ | /** #BakeData.normal_swizzle (char) */ | ||||
| typedef enum eBakeNormalSwizzle { | typedef enum eBakeNormalSwizzle { | ||||
| R_BAKE_POSX = 0, | R_BAKE_POSX = 0, | ||||
| R_BAKE_POSY = 1, | R_BAKE_POSY = 1, | ||||
| R_BAKE_POSZ = 2, | R_BAKE_POSZ = 2, | ||||
| R_BAKE_NEGX = 3, | R_BAKE_NEGX = 3, | ||||
| R_BAKE_NEGY = 4, | R_BAKE_NEGY = 4, | ||||
| R_BAKE_NEGZ = 5, | R_BAKE_NEGZ = 5, | ||||
| ▲ Show 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | typedef struct RenderData { | ||||
| /* color management settings - color profiles, gamma correction, etc */ | /* color management settings - color profiles, gamma correction, etc */ | ||||
| int color_mgt_flag; | int color_mgt_flag; | ||||
| /* Dither noise intensity */ | /* Dither noise intensity */ | ||||
| float dither_intensity; | float dither_intensity; | ||||
| /* Bake Render options */ | /* Bake Render options */ | ||||
| short bake_mode, bake_flag; | short bake_mode, bake_flag; | ||||
| short bake_filter, bake_samples; | short bake_margin, bake_samples; | ||||
| short bake_margin_type; | |||||
| char _pad9[6]; | |||||
| float bake_biasdist, bake_user_scale; | float bake_biasdist, bake_user_scale; | ||||
| /* path to render output */ | /* path to render output */ | ||||
| /** 1024 = FILE_MAX. */ | /** 1024 = FILE_MAX. */ | ||||
| /* NOTE: Excluded from `BKE_bpath_foreach_path_` / `scene_foreach_path` code. */ | /* NOTE: Excluded from `BKE_bpath_foreach_path_` / `scene_foreach_path` code. */ | ||||
| char pic[1024]; | char pic[1024]; | ||||
| /* stamps flags. */ | /* stamps flags. */ | ||||
| ▲ Show 20 Lines • Show All 1,751 Lines • Show Last 20 Lines | |||||