Blender V4.3
BKE_bake_data_block_map.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11#include <optional>
12
13#include "BLI_string_ref.hh"
15
17
18#include "DNA_ID_enums.h"
19
20namespace blender::bke::bake {
21
29 public:
35
40 virtual void try_add(ID &id) = 0;
41};
42
43} // namespace blender::bke::bake
Enumerations for DNA_ID.h.
Definition DNA_ID.h:413
virtual void try_add(ID &id)=0
virtual ID * lookup_or_remember_missing(const BakeDataBlockID &key)=0