76 char value_buf[
sizeof(lgm->
name)];
78 memcpy(value, value_buf,
len + 1);
87void rna_World_lightgroup_set(
PointerRNA *
ptr,
const char *value)
98void rna_World_use_nodes_set(
PointerRNA * ,
bool )
114 {0,
nullptr, 0,
nullptr,
nullptr},
139 prop,
"Distance",
"Length of rays, defines how far away other faces give occlusion effect");
150 {
WO_MIST_LINEAR,
"LINEAR", 0,
"Linear",
"Use linear progression"},
155 "Use inverse quadratic progression"},
156 {0,
nullptr, 0,
nullptr,
nullptr},
167 prop,
"Use Mist",
"Occlude objects with the environment color as they are further away");
181 prop,
"Start",
"Starting distance of the mist, measured from the camera");
209 static const float default_world_color[] = {0.05f, 0.05f, 0.05f};
215 "World data-block describing the environment and ambient lighting of a scene");
225 "The world's volume used to be rendered by EEVEE Legacy. Conversion is "
226 "needed for it to render properly.");
266 "Unused but kept for compatibility reasons. Setting the property "
267 "has no effect, and getting it always returns True.",
274 prop,
"rna_World_lightgroup_get",
"rna_World_lightgroup_length",
"rna_World_lightgroup_set");
288 "If non-zero, the maximum value for world contribution that will be "
289 "recorded inside the world light probe. The excess contribution is "
290 "converted to a sun light. This reduces the light bleeding caused by "
291 "very bright light sources.");
298 prop,
"Sun Angle",
"Angular diameter of the Sun as seen from the Earth");
310 "Shadows Resolution Limit",
311 "Maximum size of a shadow map pixel. Higher values use less memory at "
312 "the cost of shadow quality.");
320 prop,
"Shadow Filter Radius",
"Blur shadow aliasing using Percentage Closer Filtering");
329 "Enable jittered soft shadows to increase shadow precision (disabled in viewport unless "
330 "enabled in the render settings). Has a high performance impact.");
339 "Shadow Jitter Overblur",
340 "Apply shadow tracing to each jittered sample to reduce under-sampling artifacts");
int BKE_lightgroup_membership_length(const LightgroupMembership *lgm)
void BKE_lightgroup_membership_set(LightgroupMembership **lgm, const char *name)
int BKE_lightgroup_membership_get(const LightgroupMembership *lgm, char *name)
void DEG_id_tag_update(ID *id, unsigned int flags)
@ WO_MIST_INVERSE_QUADRATIC
@ WO_USE_EEVEE_FINITE_VOLUME
@ WO_USE_SUN_SHADOW_JITTER
@ LIGHT_PROBE_RESOLUTION_128
@ LIGHT_PROBE_RESOLUTION_512
@ LIGHT_PROBE_RESOLUTION_4096
@ LIGHT_PROBE_RESOLUTION_256
@ LIGHT_PROBE_RESOLUTION_2048
@ LIGHT_PROBE_RESOLUTION_1024
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
PointerRNA RNA_pointer_create_with_parent(const PointerRNA &parent, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_deprecated(PropertyRNA *prop, const char *note, const short version, const short removal_version)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_float_array_default(PropertyRNA *prop, const float *array)
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
static const EnumPropertyItem world_probe_resolution_items[]
void RNA_def_world(BlenderRNA *brna)
static void rna_def_world_mist(BlenderRNA *brna)
static void rna_def_lighting(BlenderRNA *brna)
void WM_main_add_notifier(uint type, void *reference)