Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_attribute.h
| Show All 33 Lines | |||||
| struct CustomData; | struct CustomData; | ||||
| struct CustomDataLayer; | struct CustomDataLayer; | ||||
| struct ID; | struct ID; | ||||
| struct ReportList; | struct ReportList; | ||||
| /* Attribute.domain */ | /* Attribute.domain */ | ||||
| typedef enum AttributeDomain { | typedef enum AttributeDomain { | ||||
| ATTR_DOMAIN_AUTO = -1, /* Use for nodes to choose automatically based on other data. */ | ATTR_DOMAIN_AUTO = -1, /* Use for nodes to choose automatically based on other data. */ | ||||
| ATTR_DOMAIN_POINT = 0, /* Mesh, Hair or PointCloud Point */ | ATTR_DOMAIN_POINT = 0, /* Mesh, Hair or PointCloud Point */ | ||||
| ATTR_DOMAIN_EDGE = 1, /* Mesh Edge */ | ATTR_DOMAIN_EDGE = 1, /* Mesh Edge */ | ||||
| ATTR_DOMAIN_CORNER = 2, /* Mesh Corner */ | ATTR_DOMAIN_CORNER = 2, /* Mesh Corner */ | ||||
| ATTR_DOMAIN_POLYGON = 3, /* Mesh Polygon */ | ATTR_DOMAIN_FACE = 3, /* Mesh Face */ | ||||
| ATTR_DOMAIN_CURVE = 4, /* Hair Curve */ | ATTR_DOMAIN_CURVE = 4, /* Hair Curve */ | ||||
| ATTR_DOMAIN_NUM | ATTR_DOMAIN_NUM | ||||
| } AttributeDomain; | } AttributeDomain; | ||||
| /* Attributes */ | /* Attributes */ | ||||
| bool BKE_id_attributes_supported(struct ID *id); | bool BKE_id_attributes_supported(struct ID *id); | ||||
| Show All 28 Lines | |||||