Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| Show First 20 Lines • Show All 1,430 Lines • ▼ Show 20 Lines | typedef struct SceneEEVEE { | ||||
| int shadow_method; | int shadow_method; | ||||
| int shadow_cube_size; | int shadow_cube_size; | ||||
| int shadow_cascade_size; | int shadow_cascade_size; | ||||
| struct LightCache *light_cache; | struct LightCache *light_cache; | ||||
| char light_cache_info[64]; | char light_cache_info[64]; | ||||
| } SceneEEVEE; | } SceneEEVEE; | ||||
| /* LANPR Global Config */ | |||||
| struct LANPR_RenderBuffer; | |||||
| struct LANPR_LineLayer; | |||||
| typedef struct SceneLANPR{ | |||||
| int master_mode; | |||||
| int enable_vector_trace; | |||||
| int display_thinning_result; | |||||
| //int SizeCompensate; | |||||
| float depth_clamp; | |||||
| float depth_strength; | |||||
| float normal_clamp; | |||||
| float normal_strength; | |||||
| float line_thickness; | |||||
| int use_same_taper; | |||||
| float taper_left_distance; | |||||
| float taper_left_strength; | |||||
| float taper_right_distance; | |||||
| float taper_right_strength; | |||||
| int enable_tip_extend; | |||||
| float extend_length; | |||||
| int snake_sensitivity; | |||||
| int size; | |||||
| /* shared */ | |||||
| float contour_fade; /* for dpix contour fading,reserved for future usage */ | |||||
| float crease_threshold; /* 0-1 range for cosine angle */ | |||||
| float crease_fade_threshold; /* for dpix crease fading */ | |||||
| float line_color[4]; | |||||
| float background_color[4]; | |||||
| float depth_width_influence; | |||||
| float depth_width_curve; | |||||
| float depth_alpha_influence; | |||||
| float depth_alpha_curve; | |||||
| /* states (needs optimization) */ | |||||
| int InitComplete; | |||||
aligorith: `snake_case` only | |||||
| int reloaded; | |||||
| /* offline render */ | |||||
| struct LANPR_RenderBuffer *render_buffer; /* created when needed. for offline rendering */ | |||||
| ListBase line_layers; /* now here!!! */ | |||||
| struct LANPR_LineLayer *active_layer; | |||||
| int calculate_intersections; | |||||
| int _size; | |||||
aligorithUnsubmitted Not Done Inline ActionsUse another name for this.
aligorith: Use another name for this.
1) It may cause issues with the makesdna parser - Most likely it's… | |||||
| } SceneLANPR; | |||||
| /* *************************************************************** */ | /* *************************************************************** */ | ||||
| /* Scene ID-Block */ | /* Scene ID-Block */ | ||||
| typedef struct Scene { | typedef struct Scene { | ||||
| ID id; | ID id; | ||||
| struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ | struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ | ||||
| struct Object *camera; | struct Object *camera; | ||||
| ▲ Show 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | typedef struct Scene { | ||||
| /* Not an actual datablock, but memory owned by scene. */ | /* Not an actual datablock, but memory owned by scene. */ | ||||
| Collection *master_collection; | Collection *master_collection; | ||||
| struct SceneCollection *collection DNA_DEPRECATED; | struct SceneCollection *collection DNA_DEPRECATED; | ||||
| IDProperty *layer_properties; /* settings to be override by workspaces */ | IDProperty *layer_properties; /* settings to be override by workspaces */ | ||||
| struct SceneDisplay display; | struct SceneDisplay display; | ||||
| struct SceneEEVEE eevee; | struct SceneEEVEE eevee; | ||||
| /* LANPR stuff */ | |||||
| struct SceneLANPR lanpr; | |||||
| } Scene; | } Scene; | ||||
| /* **************** RENDERDATA ********************* */ | /* **************** RENDERDATA ********************* */ | ||||
| /* RenderData.flag */ | /* RenderData.flag */ | ||||
| /* use preview range */ | /* use preview range */ | ||||
| #define SCER_PRV_RANGE (1<<0) | #define SCER_PRV_RANGE (1<<0) | ||||
| #define SCER_LOCK_FRAME_SELECTION (1<<1) | #define SCER_LOCK_FRAME_SELECTION (1<<1) | ||||
| ▲ Show 20 Lines • Show All 585 Lines • Show Last 20 Lines | |||||
snake_case only