![]() |
Blender V2.61 - r43446
|
BMesh modeler structure and functions - custom data. More...
Go to the source code of this file.
BMesh modeler structure and functions - custom data.
Definition in file BKE_bmeshCustomData.h.
| #define BME_CD_DEFORMVERT 3 |
Definition at line 50 of file BKE_bmeshCustomData.h.
| #define BME_CD_FACETEX 0 |
Definition at line 47 of file BKE_bmeshCustomData.h.
| #define BME_CD_LOOPCOL 2 |
Definition at line 49 of file BKE_bmeshCustomData.h.
| #define BME_CD_LOOPTEX 1 |
Definition at line 48 of file BKE_bmeshCustomData.h.
| #define BME_CD_NUMTYPES 4 |
Definition at line 51 of file BKE_bmeshCustomData.h.
Referenced by BME_CD_Create().
| typedef struct BME_CustomData BME_CustomData |
| typedef struct BME_CustomDataInit BME_CustomDataInit |
| typedef struct BME_CustomDataLayer BME_CustomDataLayer |
| typedef struct BME_DeformVert BME_DeformVert |
| typedef struct BME_DeformWeight BME_DeformWeight |
| typedef struct BME_facetex BME_facetex |
| typedef struct BME_loopcol BME_loopcol |
| typedef struct BME_looptex BME_looptex |
| void BME_CD_copy_data | ( | const struct BME_CustomData * | source, |
| struct BME_CustomData * | dest, | ||
| void * | src_block, | ||
| void ** | dest_block | ||
| ) |
| void BME_CD_Create | ( | struct BME_CustomData * | data, |
| struct BME_CustomDataInit * | init, | ||
| int | initalloc | ||
| ) |
Definition at line 65 of file BME_Customdata.c.
References BME_CustomDataInit::active, BME_CustomDataLayer::active, BLI_mempool_create(), BME_CD_NUMTYPES, BME_layerType_getInfo(), FALSE, i, BME_CustomData::layers, BME_CustomDataInit::layout, MEM_callocN(), BME_CustomDataLayer::name, BME_CustomDataInit::nametemplate, NULL, BME_CustomDataLayer::offset, BME_CustomData::pool, BME_LayerTypeInfo::size, BME_CustomData::totlayer, BME_CustomData::totsize, and BME_CustomDataLayer::type.
| void BME_CD_Free | ( | struct BME_CustomData * | data | ) |
Definition at line 103 of file BME_Customdata.c.
References BLI_mempool_destroy(), and BME_CustomData::pool.
| void BME_CD_free_block | ( | struct BME_CustomData * | data, |
| void ** | block | ||
| ) |
Definition at line 109 of file BME_Customdata.c.
References BLI_mempool_free(), BME_layerType_getInfo(), BME_LayerTypeInfo::free, i, BME_CustomData::layers, NULL, BME_CustomDataLayer::offset, BME_CustomData::pool, BME_LayerTypeInfo::size, BME_CustomData::totlayer, and BME_CustomDataLayer::type.
Referenced by BME_CD_alloc_block().
| void BME_CD_set_default | ( | struct BME_CustomData * | data, |
| void ** | block | ||
| ) |
Definition at line 182 of file BME_Customdata.c.
References BME_CD_alloc_block(), BME_layerType_getInfo(), i, BME_CustomData::layers, BME_CustomDataLayer::offset, BME_LayerTypeInfo::set_default, BME_CustomData::totlayer, and BME_CustomDataLayer::type.