Blender V4.5
blender::bke::bake::BakeItem Class Reference

#include <BKE_bake_items.hh>

Inherited by blender::bke::bake::AttributeBakeItem, blender::bke::bake::BundleBakeItem, blender::bke::bake::GeometryBakeItem, blender::bke::bake::PrimitiveBakeItem, and blender::bke::bake::StringBakeItem.

Public Member Functions

virtual ~BakeItem ()=default
virtual void count_memory (MemoryCounter &memory) const

Public Attributes

std::string name

Detailed Description

A "bake item" contains the baked data of e.g. one node socket at one frame. Typically, multiple bake items form the entire baked state for one frame.

Bake items can be serialized. Also see BKE_bake_items_serialize.hh.

Definition at line 27 of file BKE_bake_items.hh.

Constructor & Destructor Documentation

◆ ~BakeItem()

virtual blender::bke::bake::BakeItem::~BakeItem ( )
virtualdefault

References count_memory().

Member Function Documentation

◆ count_memory()

void blender::bke::bake::BakeItem::count_memory ( MemoryCounter & memory) const
virtual

Reimplemented in blender::bke::bake::GeometryBakeItem, and blender::bke::bake::StringBakeItem.

Definition at line 215 of file bake_items.cc.

Referenced by ~BakeItem().

Member Data Documentation

◆ name

std::string blender::bke::bake::BakeItem::name

User-defined name. This is not necessarily unique and might change over time. It's purpose is to make bakes more inspectable.

Definition at line 33 of file BKE_bake_items.hh.

Referenced by blender::bke::bake::serialize_bake_item().


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