58 rna_CacheFile_update(bmain,
scene,
ptr);
84 "Layer '%s' not found in object '%s'",
93 static int rna_CacheFile_active_layer_index_get(
PointerRNA *
ptr)
99 static void rna_CacheFile_active_layer_index_set(
PointerRNA *
ptr,
int value)
105 static void rna_CacheFile_active_layer_index_range(
114 static void rna_CacheFileLayer_hidden_flag_set(
PointerRNA *
ptr,
const bool value)
129 const char *filepath)
134 reports,
RPT_ERROR,
"Cannot add a layer to CacheFile '%s'", cache_file->
id.
name + 2);
188 "Layer of the cache, used to load or override data from the first the first layer");
212 prop,
"rna_CacheFile_active_layer_get",
"rna_CacheFile_active_layer_set",
NULL,
NULL);
221 func,
"filepath",
"File Path", 0,
"",
"File path to the archive used as a layer");
224 parm =
RNA_def_pointer(func,
"layer",
"CacheFileLayer",
"",
"Newly created layer");
231 parm =
RNA_def_pointer(func,
"layer",
"CacheFileLayer",
"",
"Layer to remove");
251 prop,
"Sequence",
"Whether the cache is separated in a series of files");
257 "Use Render Engine Procedural",
258 "Display boxes in the viewport as placeholders for the objects, Cycles will use a "
259 "procedural to load the objects during viewport rendering in experimental mode, "
260 "other render engines will also receive a placeholder and should take care of loading the "
261 "Alembic data themselves if possible");
269 "Whether to use a custom frame for looking up data in the cache file,"
270 " instead of using the current scene frame");
278 "The time to use for looking up the data in the cache file,"
279 " or to determine which file to use in a file sequence");
287 "Subtracted from the current frame to use for "
288 "looking up the data in the cache file, or to "
289 "determine which file to use in a file sequence");
298 "When enabled, the Cycles Procedural will preload animation data for faster updates");
304 "Prefetch Cache Size",
305 "Memory usage limit in megabytes for the Cycles Procedural cache, if the data does not "
306 "fit within the limit, rendering is aborted");
329 "Value by which to enlarge or shrink the object with respect to the world's origin"
330 " (only applicable through a Transform Cache constraint)");
337 "rna_CacheFile_object_paths_begin",
338 "rna_iterator_listbase_next",
339 "rna_iterator_listbase_end",
340 "rna_iterator_listbase_get",
348 prop,
"Object Paths",
"Paths of the objects inside the Alembic archive");
354 "Velocity Attribute",
355 "Name of the Alembic attribute used for generating motion blur data");
365 "Define how the velocity vectors are interpreted with regard to time, 'frame' means "
366 "the delta time is 1 frame, 'second' means the delta time is 1 / FPS");
383 "rna_CacheFile_active_layer_index_get",
384 "rna_CacheFile_active_layer_index_set",
385 "rna_CacheFile_active_layer_index_range");
struct CacheFileLayer * BKE_cachefile_add_layer(struct CacheFile *cache_file, const char filename[1024])
void BKE_cachefile_remove_layer(struct CacheFile *cache_file, struct CacheFileLayer *layer)
struct CacheFileLayer * BKE_cachefile_get_active_layer(struct CacheFile *cache_file)
void BKE_cachefile_reload(struct Depsgraph *depsgraph, struct CacheFile *cache_file)
struct Depsgraph * CTX_data_ensure_evaluated_depsgraph(const bContext *C)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE int max_ii(int a, int b)
struct Depsgraph Depsgraph
void DEG_id_tag_update(struct ID *id, int flag)
void DEG_relations_tag_update(struct Main *bmain)
@ ID_RECALC_COPY_ON_WRITE
@ CACHEFILE_VELOCITY_UNIT_SECOND
@ CACHEFILE_VELOCITY_UNIT_FRAME
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
const Depsgraph * depsgraph
void rna_iterator_listbase_begin(CollectionPropertyIterator *iter, ListBase *lb, IteratorSkipFunc skip)
PointerRNA rna_pointer_inherit_refine(PointerRNA *ptr, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
const EnumPropertyItem rna_enum_velocity_unit_items[]
void RNA_def_cachefile(BlenderRNA *brna)
static void rna_def_cachefile_layer(BlenderRNA *brna)
static void rna_def_cachefile(BlenderRNA *brna)
static void rna_def_alembic_object_path(BlenderRNA *brna)
static void rna_def_cachefile_layers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_cachefile_object_paths(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_define_lib_overridable(const bool make_overridable)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
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_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
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)
void RNA_def_struct_name_property(struct StructRNA *srna, struct PropertyRNA *prop)
void RNA_def_function_flag(FunctionRNA *func, int flag)
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)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_override_clear_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
const EnumPropertyItem rna_enum_object_axis_items[]
void WM_main_add_notifier(unsigned int type, void *reference)