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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-18 08:21:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-18 08:59:28 +0300
commit333cdbb41025db012239e0549a439515880aad9b (patch)
tree7f34b68d8d412bd69073eabee1ed01e2ded0437f /source/blender/blenkernel/BKE_customdata.h
parent93e876c4f89909ff1e399d7f038aac134367b120 (diff)
Cleanup: comment blocks
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r--source/blender/blenkernel/BKE_customdata.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h
index 88035e2b3d9..e4dc8ffae02 100644
--- a/source/blender/blenkernel/BKE_customdata.h
+++ b/source/blender/blenkernel/BKE_customdata.h
@@ -61,14 +61,18 @@ extern const CustomData_MeshMasks CD_MASK_EVERYTHING;
* memory space for totelem elements. mask must be an array of length
* CD_NUMTYPES elements, that indicate if a layer can be copied. */
-/* add/copy/merge allocation types */
+/** Add/copy/merge allocation types. */
typedef enum eCDAllocType {
- CD_ASSIGN = 0, /* use the data pointer */
- CD_CALLOC = 1, /* allocate blank memory */
- CD_DEFAULT = 2, /* allocate and set to default */
- CD_REFERENCE = 3, /* use data pointers, set layer flag NOFREE */
- CD_DUPLICATE = 4, /* do a full copy of all layers, only allowed if source
- * has same number of elements */
+ /** Use the data pointer. */
+ CD_ASSIGN = 0,
+ /** Allocate blank memory. */
+ CD_CALLOC = 1,
+ /** Allocate and set to default. */
+ CD_DEFAULT = 2,
+ /** Use data pointers, set layer flag NOFREE. */
+ CD_REFERENCE = 3,
+ /** Do a full copy of all layers, only allowed if source has same number of elements. */
+ CD_DUPLICATE = 4,
} eCDAllocType;
#define CD_TYPE_AS_MASK(_type) (CustomDataMask)((CustomDataMask)1 << (CustomDataMask)(_type))