Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_meshdata_types.h
| Show First 20 Lines • Show All 512 Lines • ▼ Show 20 Lines | #define MESH_MLOOPCOL_TO_MCOL(_mloopcol, _mcol) \ | ||||
| } \ | } \ | ||||
| (void)0 | (void)0 | ||||
| /** Old game engine recast navigation data, while unused 2.7x files may contain this. */ | /** Old game engine recast navigation data, while unused 2.7x files may contain this. */ | ||||
| typedef struct MRecast { | typedef struct MRecast { | ||||
| int i; | int i; | ||||
| } MRecast; | } MRecast; | ||||
| /** Multires structs kept for compatibility with old files. */ | |||||
| typedef struct MultiresCol { | |||||
| float a, r, g, b; | |||||
| } MultiresCol; | |||||
| typedef struct MultiresColFace { | |||||
| /* vertex colors */ | |||||
| MultiresCol col[4]; | |||||
| } MultiresColFace; | |||||
| typedef struct MultiresFace { | |||||
| unsigned int v[4]; | |||||
| unsigned int mid; | |||||
| char flag, mat_nr, _pad[2]; | |||||
| } MultiresFace; | |||||
| typedef struct MultiresEdge { | |||||
| unsigned int v[2]; | |||||
| unsigned int mid; | |||||
| } MultiresEdge; | |||||
| typedef struct MultiresLevel { | |||||
| struct MultiresLevel *next, *prev; | |||||
| MultiresFace *faces; | |||||
| MultiresColFace *colfaces; | |||||
| MultiresEdge *edges; | |||||
| unsigned int totvert, totface, totedge; | |||||
| char _pad[4]; | |||||
| /* Kept for compatibility with even older files */ | |||||
| MVert *verts; | |||||
| } MultiresLevel; | |||||
| typedef struct Multires { | |||||
| ListBase levels; | |||||
| MVert *verts; | |||||
| unsigned char level_count, current, newlvl, edgelvl, pinlvl, renderlvl; | |||||
| unsigned char use_col, flag; | |||||
| /* Special level 1 data that cannot be modified from other levels */ | |||||
| CustomData vdata; | |||||
| CustomData fdata; | |||||
| short *edge_flags; | |||||
| char *edge_creases; | |||||
| } Multires; | |||||
| /* End multi-res structs. */ | |||||
| /** \} */ | /** \} */ | ||||