Blender  V3.3
DNA_pointcloud_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 PointCloud {
17  ID id;
18  struct AnimData *adt; /* animation data (must be immediately after id) */
19 
20  int flag;
21 
22  /* Geometry */
23  int totpoint;
24 
25  /* Custom Data */
26  struct CustomData pdata;
28  int _pad4;
29 
30  /* Material */
31  struct Material **mat;
32  short totcol;
33  short _pad3[3];
34 
35  /* Draw Cache */
36  void *batch_cache;
38 
40 enum {
41  PT_DS_EXPAND = (1 << 0),
42 };
43 
44 /* Only one material supported currently. */
45 #define POINTCLOUD_MATERIAL_NR 1
46 
47 #ifdef __cplusplus
48 }
49 #endif
ID and Library types, which are fundamental for sdna.
struct PointCloud PointCloud
@ PT_DS_EXPAND
Definition: DNA_ID.h:368
struct Material ** mat
struct AnimData * adt
struct CustomData pdata