Blender  V3.3
DNA_simulation_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "DNA_ID.h"
10 #include "DNA_customdata_types.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct Simulation {
18 
19  ID id;
20  struct AnimData *adt; /* animation data (must be immediately after id) */
21 
22  /* This nodetree is embedded into the data block. */
24 
26  char _pad[4];
28 
30 enum {
31  SIM_DS_EXPAND = (1 << 0),
32 };
33 
34 #ifdef __cplusplus
35 }
36 #endif
ID and Library types, which are fundamental for sdna.
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition: DNA_defs.h:64
@ SIM_DS_EXPAND
unsigned int uint32_t
Definition: stdint.h:80
Definition: DNA_ID.h:368
struct AnimData * adt
struct bNodeTree * nodetree