Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_modifier_types.h
| Show First 20 Lines • Show All 876 Lines • ▼ Show 20 Lines | enum { | ||||
| MOD_MDEF_DYNAMIC_BIND = (1 << 1), | MOD_MDEF_DYNAMIC_BIND = (1 << 1), | ||||
| }; | }; | ||||
| enum { | enum { | ||||
| MOD_MDEF_VOLUME = 0, | MOD_MDEF_VOLUME = 0, | ||||
| MOD_MDEF_SURFACE = 1, | MOD_MDEF_SURFACE = 1, | ||||
| }; | }; | ||||
| typedef struct ParticleSystemModifierData { | /* Is stored in ModifierData.runtime. */ | ||||
| ModifierData modifier; | # | ||||
| # | |||||
| struct ParticleSystem *psys; | typedef struct ParticleSystemModifierDataRuntime { | ||||
| /** Final Mesh - its topology may differ from orig mesh. */ | /** Final Mesh - its topology may differ from orig mesh. */ | ||||
| struct Mesh *mesh_final; | struct Mesh *mesh_final; | ||||
| /** Original mesh that particles are attached to. */ | /** Original mesh that particles are attached to. */ | ||||
| struct Mesh *mesh_original; | struct Mesh *mesh_original; | ||||
| int totdmvert, totdmedge, totdmface; | int totdmvert, totdmedge, totdmface; | ||||
| } ParticleSystemModifierDataRuntime; | |||||
| typedef struct ParticleSystemModifierData { | |||||
| ModifierData modifier; | |||||
| struct ParticleSystem *psys; | |||||
| void *_pad1; | |||||
| short flag; | short flag; | ||||
| char _pad[2]; | char _pad[6]; | ||||
| } ParticleSystemModifierData; | } ParticleSystemModifierData; | ||||
| typedef enum { | typedef enum { | ||||
| eParticleSystemFlag_Pars = (1 << 0), | eParticleSystemFlag_Pars = (1 << 0), | ||||
| eParticleSystemFlag_psys_updated = (1 << 1), | eParticleSystemFlag_psys_updated = (1 << 1), | ||||
| eParticleSystemFlag_file_loaded = (1 << 2), | eParticleSystemFlag_file_loaded = (1 << 2), | ||||
| } ParticleSystemModifierFlag; | } ParticleSystemModifierFlag; | ||||
| ▲ Show 20 Lines • Show All 1,046 Lines • Show Last 20 Lines | |||||