Blender
V3.3
source
blender
makesdna
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
;
27
int
attributes_active_index
;
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
;
37
}
PointCloud
;
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
DNA_ID.h
ID and Library types, which are fundamental for sdna.
DNA_customdata_types.h
PointCloud
struct PointCloud PointCloud
PT_DS_EXPAND
@ PT_DS_EXPAND
Definition:
DNA_pointcloud_types.h:41
AnimData
Definition:
DNA_anim_types.h:1068
CustomData
Definition:
DNA_customdata_types.h:63
ID
Definition:
DNA_ID.h:368
Material
Definition:
DNA_material_types.h:164
PointCloud
Definition:
DNA_pointcloud_types.h:16
PointCloud::batch_cache
void * batch_cache
Definition:
DNA_pointcloud_types.h:36
PointCloud::mat
struct Material ** mat
Definition:
DNA_pointcloud_types.h:31
PointCloud::totcol
short totcol
Definition:
DNA_pointcloud_types.h:32
PointCloud::_pad3
short _pad3[3]
Definition:
DNA_pointcloud_types.h:33
PointCloud::totpoint
int totpoint
Definition:
DNA_pointcloud_types.h:23
PointCloud::attributes_active_index
int attributes_active_index
Definition:
DNA_pointcloud_types.h:27
PointCloud::_pad4
int _pad4
Definition:
DNA_pointcloud_types.h:28
PointCloud::id
ID id
Definition:
DNA_pointcloud_types.h:17
PointCloud::flag
int flag
Definition:
DNA_pointcloud_types.h:20
PointCloud::adt
struct AnimData * adt
Definition:
DNA_pointcloud_types.h:18
PointCloud::pdata
struct CustomData pdata
Definition:
DNA_pointcloud_types.h:26
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1