Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DNA_asset_defaults.h « makesdna « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cef4c1270b88720ddace38b1e92269289cd2533f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup DNA
 */

#pragma once

/* Struct members on own line. */
/* clang-format off */

/* -------------------------------------------------------------------- */
/** \name Asset Struct
 * \{ */

#define _DNA_DEFAULT_AssetMetaData \
  { \
    0 \
  }

#define _DNA_DEFAULT_AssetLibraryReference \
  { \
    .type = ASSET_LIBRARY_LOCAL, \
    /* Not needed really (should be ignored for #ASSET_LIBRARY_LOCAL), but helps debugging. */ \
    .custom_library_index = -1, \
  }

/** \} */

/* clang-format on */