Blender
V4.3
source
blender
blenkernel
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
"
14
#include "
BLI_struct_equality_utils.hh
"
15
16
#include "
BKE_bake_data_block_id.hh
"
17
18
#include "
DNA_ID_enums.h
"
19
20
namespace
blender::bke::bake
{
21
28
struct
BakeDataBlockMap
{
29
public
:
34
virtual
ID
*
lookup_or_remember_missing
(
const
BakeDataBlockID
&key) = 0;
35
40
virtual
void
try_add
(
ID
&
id
) = 0;
41
};
42
43
}
// namespace blender::bke::bake
BKE_bake_data_block_id.hh
BLI_string_ref.hh
BLI_struct_equality_utils.hh
DNA_ID_enums.h
Enumerations for DNA_ID.h.
blender::bke::bake
Definition
BKE_bake_data_block_id.hh:20
ID
Definition
DNA_ID.h:413
blender::bke::bake::BakeDataBlockID
Definition
BKE_bake_data_block_id.hh:27
blender::bke::bake::BakeDataBlockMap
Definition
BKE_bake_data_block_map.hh:28
blender::bke::bake::BakeDataBlockMap::try_add
virtual void try_add(ID &id)=0
blender::bke::bake::BakeDataBlockMap::lookup_or_remember_missing
virtual ID * lookup_or_remember_missing(const BakeDataBlockID &key)=0
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0