mmSolver.tools.imagecache#

Image Cache.

Initialize#

Tools#

Library#

Functions to control the image cache.

mmSolver.tools.imagecache.lib.get_gpu_memory_total_bytes()#
mmSolver.tools.imagecache.lib.get_gpu_memory_used_bytes()#
mmSolver.tools.imagecache.lib.get_cpu_memory_total_bytes()#
mmSolver.tools.imagecache.lib.get_cpu_memory_used_bytes()#
mmSolver.tools.imagecache.lib.get_gpu_cache_item_count()#
mmSolver.tools.imagecache.lib.get_cpu_cache_item_count()#
mmSolver.tools.imagecache.lib.get_gpu_cache_group_names()#
mmSolver.tools.imagecache.lib.get_cpu_cache_group_names()#
mmSolver.tools.imagecache.lib.get_gpu_cache_slot_count()#
mmSolver.tools.imagecache.lib.get_cpu_cache_slot_count()#
mmSolver.tools.imagecache.lib.get_gpu_cache_group_item_count(group_name)#
mmSolver.tools.imagecache.lib.get_cpu_cache_group_item_count(group_name)#
mmSolver.tools.imagecache.lib.get_gpu_cache_group_item_names(group_name)#
mmSolver.tools.imagecache.lib.get_cpu_cache_group_item_names(group_name)#
mmSolver.tools.imagecache.lib.get_gpu_cache_used_bytes()#
mmSolver.tools.imagecache.lib.get_cpu_cache_used_bytes()#
mmSolver.tools.imagecache.lib.get_gpu_cache_capacity_bytes()#
mmSolver.tools.imagecache.lib.get_cpu_cache_capacity_bytes()#
mmSolver.tools.imagecache.lib.set_gpu_cache_capacity_bytes(size_bytes)#
mmSolver.tools.imagecache.lib.set_cpu_cache_capacity_bytes(size_bytes)#
mmSolver.tools.imagecache.lib.erase_gpu_group_items(group_name)#
mmSolver.tools.imagecache.lib.erase_cpu_group_items(group_name)#
mmSolver.tools.imagecache.lib.erase_gpu_groups_items(group_names)#
mmSolver.tools.imagecache.lib.erase_cpu_groups_items(group_names)#
mmSolver.tools.imagecache.lib.erase_gpu_image_items(items)#
mmSolver.tools.imagecache.lib.erase_cpu_image_items(items)#
mmSolver.tools.imagecache.lib.erase_all_images_on_image_plane_slots(cache_type, shape_node)#
mmSolver.tools.imagecache.lib.erase_images_in_active_image_plane_slot(cache_type, shape_node)#
mmSolver.tools.imagecache.lib.erase_images_in_unused_image_plane_slots(cache_type, shape_node)#
mmSolver.tools.imagecache.lib.erase_image_sequence(cache_type, file_pattern, format_style, start_frame, end_frame)#
mmSolver.tools.imagecache.lib.erase_all_inactive_images(cache_type)#
mmSolver.tools.imagecache.lib.erase_all_images(cache_type)#

Clear image cache completely.

Configuration#

Functions to control the image cache.

mmSolver.tools.imagecache.config_file.write()#
mmSolver.tools.imagecache.config_file.get_gpu_capacity_percent()#
mmSolver.tools.imagecache.config_file.set_gpu_capacity_percent(value)#
mmSolver.tools.imagecache.config_file.get_cpu_capacity_percent()#
mmSolver.tools.imagecache.config_file.set_cpu_capacity_percent(value)#

Functions to control the image cache.

class mmSolver.tools.imagecache.config.CapacityData(gpu_default_capacity, cpu_default_capacity, scene_override, gpu_scene_capacity, cpu_scene_capacity, gpu_resolved_capacity, cpu_resolved_capacity)#
property cpu_default_capacity#

Alias for field number 1

property cpu_resolved_capacity#

Alias for field number 6

property cpu_scene_capacity#

Alias for field number 4

property gpu_default_capacity#

Alias for field number 0

property gpu_resolved_capacity#

Alias for field number 5

property gpu_scene_capacity#

Alias for field number 3

property scene_override#

Alias for field number 2

mmSolver.tools.imagecache.config.resolve_capacity_data()#
mmSolver.tools.imagecache.config.save_capacity_values(gpu_percent_default, cpu_percent_default, scene_override, gpu_percent_scene, cpu_percent_scene)#

Functions to control the image cache.

mmSolver.tools.imagecache.config_scene.get_cache_scene_override()#
mmSolver.tools.imagecache.config_scene.set_cache_scene_override(value)#
mmSolver.tools.imagecache.config_scene.get_gpu_capacity_percent()#
mmSolver.tools.imagecache.config_scene.set_gpu_capacity_percent(percent)#
mmSolver.tools.imagecache.config_scene.get_cpu_capacity_percent()#
mmSolver.tools.imagecache.config_scene.set_cpu_capacity_percent(percent)#

Functions to control the image cache.

class mmSolver.tools.imagecache.config_utils.CapacityValue(size_bytes, percent)#
property percent#

Alias for field number 1

property size_bytes#

Alias for field number 0

mmSolver.tools.imagecache.config_utils.convert_to_capacity_value(percent, total_bytes)#

Constants#

Image Cache constants.