Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | |||||
| /* Render Layers */ | /* Render Layers */ | ||||
| /* Render Layer */ | /* Render Layer */ | ||||
| typedef struct SceneRenderLayer { | typedef struct SceneRenderLayer { | ||||
| struct SceneRenderLayer *next, *prev; | struct SceneRenderLayer *next, *prev; | ||||
| char name[64] DNA_DEPRECATED; /* MAX_NAME */ | char name[64] DNA_DEPRECATED; /* MAX_NAME */ | ||||
| struct Material *mat_override DNA_DEPRECATED; /* Converted to SceneLayer override. */ | struct Material *mat_override DNA_DEPRECATED; /* Converted to ViewLayer override. */ | ||||
| unsigned int lay DNA_DEPRECATED; /* Converted to LayerCollection cycles camera visibility override. */ | unsigned int lay DNA_DEPRECATED; /* Converted to LayerCollection cycles camera visibility override. */ | ||||
| unsigned int lay_zmask DNA_DEPRECATED; /* Converted to LayerCollection cycles holdout override. */ | unsigned int lay_zmask DNA_DEPRECATED; /* Converted to LayerCollection cycles holdout override. */ | ||||
| unsigned int lay_exclude DNA_DEPRECATED; | unsigned int lay_exclude DNA_DEPRECATED; | ||||
| int layflag DNA_DEPRECATED; /* Converted to SceneLayer layflag and flag. */ | int layflag DNA_DEPRECATED; /* Converted to ViewLayer layflag and flag. */ | ||||
| int passflag DNA_DEPRECATED; /* pass_xor has to be after passflag */ | int passflag DNA_DEPRECATED; /* pass_xor has to be after passflag */ | ||||
| int pass_xor DNA_DEPRECATED; /* Converted to SceneLayer passflag and flag. */ | int pass_xor DNA_DEPRECATED; /* Converted to ViewLayer passflag and flag. */ | ||||
| int samples DNA_DEPRECATED; /* Converted to SceneLayer override. */ | int samples DNA_DEPRECATED; /* Converted to ViewLayer override. */ | ||||
| float pass_alpha_threshold DNA_DEPRECATED; /* Converted to SceneLayer pass_alpha_threshold. */ | float pass_alpha_threshold DNA_DEPRECATED; /* Converted to ViewLayer pass_alpha_threshold. */ | ||||
| IDProperty *prop DNA_DEPRECATED; /* Converted to SceneLayer id_properties. */ | IDProperty *prop DNA_DEPRECATED; /* Converted to ViewLayer id_properties. */ | ||||
| struct FreestyleConfig freestyleConfig DNA_DEPRECATED; /* Converted to SceneLayer freestyleConfig. */ | struct FreestyleConfig freestyleConfig DNA_DEPRECATED; /* Converted to ViewLayer freestyleConfig. */ | ||||
| } SceneRenderLayer; | } SceneRenderLayer; | ||||
| /* srl->layflag */ | /* srl->layflag */ | ||||
| #define SCE_LAY_SOLID 1 | #define SCE_LAY_SOLID 1 | ||||
| #define SCE_LAY_ZTRA 2 | #define SCE_LAY_ZTRA 2 | ||||
| #define SCE_LAY_HALO 4 | #define SCE_LAY_HALO 4 | ||||
| #define SCE_LAY_EDGE 8 | #define SCE_LAY_EDGE 8 | ||||
| #define SCE_LAY_SKY 16 | #define SCE_LAY_SKY 16 | ||||
| ▲ Show 20 Lines • Show All 456 Lines • ▼ Show 20 Lines | typedef struct RenderData { | ||||
| short frs_sec, edgeint; | short frs_sec, edgeint; | ||||
| /* safety, border and display rect */ | /* safety, border and display rect */ | ||||
| rctf safety, border; | rctf safety, border; | ||||
| rcti disprect; | rcti disprect; | ||||
| /* information on different layers to be rendered */ | /* information on different layers to be rendered */ | ||||
| ListBase layers DNA_DEPRECATED; /* Converted to Scene->render_layers. */ | ListBase layers DNA_DEPRECATED; /* Converted to Scene->view_layers. */ | ||||
| short actlay DNA_DEPRECATED; /* Converted to Scene->active_layer. */ | short actlay DNA_DEPRECATED; /* Converted to Scene->active_layer. */ | ||||
| /* number of mblur samples */ | /* number of mblur samples */ | ||||
| short mblur_samples; | short mblur_samples; | ||||
| /** | /** | ||||
| * Adjustment factors for the aspect ratio in the x direction, was a short in 2.45 | * Adjustment factors for the aspect ratio in the x direction, was a short in 2.45 | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 396 Lines • ▼ Show 20 Lines | typedef struct ParticleEditSettings { | ||||
| float emitterdist, rt; | float emitterdist, rt; | ||||
| int selectmode; | int selectmode; | ||||
| int edittype; | int edittype; | ||||
| int draw_step, fade_frames; | int draw_step, fade_frames; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| struct SceneLayer *scene_layer; | struct ViewLayer *view_layer; | ||||
| struct Object *object; | struct Object *object; | ||||
| struct Object *shape_object; | struct Object *shape_object; | ||||
| } ParticleEditSettings; | } ParticleEditSettings; | ||||
| /* ------------------------------------------- */ | /* ------------------------------------------- */ | ||||
| /* Sculpt */ | /* Sculpt */ | ||||
| /* Sculpt */ | /* Sculpt */ | ||||
| ▲ Show 20 Lines • Show All 596 Lines • ▼ Show 20 Lines | typedef struct Scene { | ||||
| ColorManagedDisplaySettings display_settings; | ColorManagedDisplaySettings display_settings; | ||||
| ColorManagedColorspaceSettings sequencer_colorspace_settings; | ColorManagedColorspaceSettings sequencer_colorspace_settings; | ||||
| /* RigidBody simulation world+settings */ | /* RigidBody simulation world+settings */ | ||||
| struct RigidBodyWorld *rigidbody_world; | struct RigidBodyWorld *rigidbody_world; | ||||
| struct PreviewImage *preview; | struct PreviewImage *preview; | ||||
| ListBase render_layers; | ListBase view_layers; | ||||
| struct SceneCollection *collection; | struct SceneCollection *collection; | ||||
| int active_layer; | int active_view_layer; | ||||
| int pad4; | int pad4; | ||||
| IDProperty *collection_properties; /* settings to be overriden by layer collections */ | IDProperty *collection_properties; /* settings to be overriden by layer collections */ | ||||
| IDProperty *layer_properties; /* settings to be override by workspaces */ | IDProperty *layer_properties; /* settings to be override by workspaces */ | ||||
| int pad5[2]; | int pad5[2]; | ||||
| ViewRender view_render; | ViewRender view_render; | ||||
| ▲ Show 20 Lines • Show All 592 Lines • Show Last 20 Lines | |||||