Blender V5.3
blender::DnaRenameMaps Struct Reference

#include <dna_utils.h>

Public Attributes

Map< StringRef, StringRef > types
Map< std::pair< StringRef, StringRef >, StringRef > members

Detailed Description

Rename maps built from dna_rename_defs.h and other versioning.

  • 'Static' is the original name of the data, the one that is still stored in blend-files DNA info (to avoid breaking forward compatibility).
  • 'Alias' is the current name of the data, the one used in current DNA definition code.

Definition at line 72 of file dna_utils.h.

Member Data Documentation

◆ members

Map<std::pair<StringRef, StringRef>, StringRef> blender::DnaRenameMaps::members

Member name mapping (first in pair is always the static struct name).

Definition at line 76 of file dna_utils.h.

Referenced by blender::apply_renames(), and blender::dna_sdna_alias_from_static_elem_full().

◆ types

Map<StringRef, StringRef> blender::DnaRenameMaps::types

Definition at line 74 of file dna_utils.h.

Referenced by blender::apply_renames(), and blender::DNA_sdna_alias_data_ensure().


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