Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

BKE_bmeshCustomData.h File Reference

BMesh modeler structure and functions - custom data. More...

Go to the source code of this file.

Classes

struct  BME_CustomDataLayer
struct  BME_CustomData
struct  BME_CustomDataInit
struct  BME_DeformWeight
struct  BME_DeformVert
struct  BME_facetex
struct  BME_looptex
struct  BME_loopcol

Defines

#define BME_CD_FACETEX   0
#define BME_CD_LOOPTEX   1
#define BME_CD_LOOPCOL   2
#define BME_CD_DEFORMVERT   3
#define BME_CD_NUMTYPES   4

Typedefs

typedef struct BME_CustomDataLayer BME_CustomDataLayer
typedef struct BME_CustomData BME_CustomData
typedef struct BME_CustomDataInit BME_CustomDataInit
typedef struct BME_DeformWeight BME_DeformWeight
typedef struct BME_DeformVert BME_DeformVert
typedef struct BME_facetex BME_facetex
typedef struct BME_looptex BME_looptex
typedef struct BME_loopcol BME_loopcol

Functions

void BME_CD_Create (struct BME_CustomData *data, struct BME_CustomDataInit *init, int initalloc)
void BME_CD_Free (struct BME_CustomData *data)
void BME_CD_free_block (struct BME_CustomData *data, void **block)
void BME_CD_copy_data (const struct BME_CustomData *source, struct BME_CustomData *dest, void *src_block, void **dest_block)
void BME_CD_set_default (struct BME_CustomData *data, void **block)

Detailed Description

BMesh modeler structure and functions - custom data.

Since:
January 2007

Definition in file BKE_bmeshCustomData.h.


Define Documentation

#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 Documentation

typedef struct BME_facetex BME_facetex
typedef struct BME_loopcol BME_loopcol
typedef struct BME_looptex BME_looptex

Function Documentation

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 
)
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 
)
void BME_CD_set_default ( struct BME_CustomData data,
void **  block 
)