27#ifndef DY_HAIR_SYSTEM_H
28#define DY_HAIR_SYSTEM_H
30#include "DyHairSystemCore.h"
42 typedef size_t HairSystemHandle;
88 , mElementId(0xffFFffFF)
89 , mGpuRemapId(0xffFFffFF)
99 mShapeCore = shapeCore;
105 mGpuRemapId = remapId;
107 geom.gpuRemapId = remapId;
111 PX_FORCE_INLINE void setElementId(
const PxU32 elementId) { mElementId = elementId; }
120 PX_FORCE_INLINE PxU16 getIterationCounts() {
return mCore.mSolverIterationCounts; }
Definition DyHairSystem.h:81
Definition ScHairSystemSim.h:42
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition DyHairSystemCore.h:70
Definition DyHairSystem.h:49
Enum
Definition DyHairSystem.h:51
@ eTWISTING_REST_POSITIONS
Bending rest angles were changed
Definition DyHairSystem.h:62
@ eREST_POSITION_TRANSFORM
Positions, velocities or masses changed
Definition DyHairSystem.h:58
@ ePOSITIONS_VELOCITIES_MASS
Attachment was changed
Definition DyHairSystem.h:57
@ eGRID_SIZE
Parameters were changed
Definition DyHairSystem.h:55
@ eATTACHMENT
Grid size was changed. sets ePARAMETERS because settings are stored there
Definition DyHairSystem.h:56
@ ePARAMETERS
default, everything up-to-date
Definition DyHairSystem.h:54
@ eSTRAND_LENGTHS
Shape matching group size or overlap changed. sets ePARAMETERS because settings are stored there
Definition DyHairSystem.h:65
@ eNUM_STRANDS_OR_VERTS
Topology of vertex arrangement was changed
Definition DyHairSystem.h:66
@ eLOD_DATA
Level of detail was changed, update lodX pos/vel from lod0
Definition DyHairSystem.h:60
@ eSHAPE_MATCHING_SIZES
Rest (=skinned) positions changed
Definition DyHairSystem.h:64
@ eLOD_SWITCH
Transform of the rest positions changed
Definition DyHairSystem.h:59
@ eALL
Number of strands or vertices changed
Definition DyHairSystem.h:70
@ eREST_POSITIONS
Twisting rest positions were changed
Definition DyHairSystem.h:63
@ eBENDING_REST_ANGLES
Definition of detail levels changed . Must come after setting any kind of rest positions....
Definition DyHairSystem.h:61
Definition DyHairSystem.h:76
Definition PxvGeometry.h:135
Definition PxvGeometry.h:221