Blender V4.3
blender::bke::bake::BakePath Struct Reference

#include <BKE_bake_items_paths.hh>

Static Public Member Functions

static BakePath from_single_root (StringRefNull root_dir)
 

Public Attributes

std::string meta_dir
 
std::string blobs_dir
 
std::optional< std::string > bake_dir
 

Detailed Description

Definition at line 21 of file BKE_bake_items_paths.hh.

Member Function Documentation

◆ from_single_root()

BakePath blender::bke::bake::BakePath::from_single_root ( StringRefNull root_dir)
static

Member Data Documentation

◆ bake_dir

std::optional<std::string> blender::bke::bake::BakePath::bake_dir

Folder that is allowed to be deleted when the bake is deleted and it doesn't contain anything else. Typically, this contains the meta and blob directories.

Definition at line 33 of file BKE_bake_items_paths.hh.

Referenced by from_single_root().

◆ blobs_dir

std::string blender::bke::bake::BakePath::blobs_dir

Path to the directory that contains the binary data. Could be shared between multiple bakes to reduce memory consumption.

Definition at line 28 of file BKE_bake_items_paths.hh.

Referenced by from_single_root(), blender::bke::bake::pack_bake_from_disk(), and blender::bke::bake::unpack_bake_to_disk().

◆ meta_dir

std::string blender::bke::bake::BakePath::meta_dir

Path to the directory containing the meta data per frame.

Definition at line 23 of file BKE_bake_items_paths.hh.

Referenced by blender::bke::bake::disk_bake_exists(), from_single_root(), blender::bke::bake::pack_bake_from_disk(), and blender::bke::bake::unpack_bake_to_disk().


The documentation for this struct was generated from the following files: