Blender  V3.3
DNA_asset_defaults.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 /* Struct members on own line. */
10 /* clang-format off */
11 
12 /* -------------------------------------------------------------------- */
16 #define _DNA_DEFAULT_AssetMetaData \
17  { \
18  0 \
19  }
20 
21 #define _DNA_DEFAULT_AssetLibraryReference \
22  { \
23  .type = ASSET_LIBRARY_LOCAL, \
24  /* Not needed really (should be ignored for #ASSET_LIBRARY_LOCAL), but helps debugging. */ \
25  .custom_library_index = -1, \
26  }
27 
30 /* clang-format on */