Blender V4.3
BKE_anonymous_attribute_id.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <atomic>
8
10#include "BLI_set.hh"
11#include "BLI_string_ref.hh"
12
14
15namespace blender::bke {
16
21 public:
27 std::shared_ptr<Set<std::string>> names;
28};
29
38{
39 return name.startswith(".a_");
40}
41
43 public:
44 Result filter(const StringRef name) const override
45 {
48 }
50 }
51};
52
53} // namespace blender::bke
std::shared_ptr< Set< std::string > > names
Result filter(const StringRef name) const override
bool attribute_name_is_anonymous(const StringRef name)