Blender V2.61 - r43446
|
#include <stddef.h>
#include "DNA_mesh_types.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_multires.h"
#include "BKE_modifier.h"
#include "BKE_paint.h"
#include "BKE_particle.h"
#include "MOD_util.h"
Go to the source code of this file.
Functions | |
static void | initData (ModifierData *md) |
static void | copyData (ModifierData *md, ModifierData *target) |
static DerivedMesh * | applyModifier (ModifierData *md, Object *ob, DerivedMesh *dm, int useRenderParams, int isFinalCalc) |
Variables | |
ModifierTypeInfo | modifierType_Multires |
Definition in file MOD_multires.c.
static DerivedMesh* applyModifier | ( | ModifierData * | md, |
Object * | ob, | ||
DerivedMesh * | dm, | ||
int | useRenderParams, | ||
int | isFinalCalc | ||
) | [static] |
Definition at line 71 of file MOD_multires.c.
References CD_CALLOC, CD_MDISPS, CDDM_copy(), CustomData_add_layer(), CustomData_get_layer(), Object::data, Mesh::fdata, DerivedMesh::getPBVH, Object::mode, multires_dm_create_from_derived(), NULL, OB_MODE_SCULPT, SculptSession::pbvh, DerivedMesh::release, Object::sculpt, Mesh::totface, and MultiresModifierData::totlvl.
static void copyData | ( | ModifierData * | md, |
ModifierData * | target | ||
) | [static] |
Definition at line 58 of file MOD_multires.c.
References MultiresModifierData::flags, MultiresModifierData::lvl, MultiresModifierData::renderlvl, MultiresModifierData::sculptlvl, MultiresModifierData::simple, and MultiresModifierData::totlvl.
static void initData | ( | ModifierData * | md | ) | [static] |
Definition at line 48 of file MOD_multires.c.
References MultiresModifierData::lvl, MultiresModifierData::renderlvl, MultiresModifierData::sculptlvl, and MultiresModifierData::totlvl.
{ "Multires", "MultiresModifierData", sizeof(MultiresModifierData), eModifierTypeType_Constructive, eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping | eModifierTypeFlag_RequiresOriginalData, copyData, NULL, NULL, NULL, NULL, applyModifier, NULL, initData, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 107 of file MOD_multires.c.