Lines Matching refs:collection

650     ParticleCollection* collection,  in SetDefaultValues()  argument
658 if (!collection->IsStream(PARTICLEUSAGE_LIFE)) in SetDefaultValues()
660 lifeParam = *(ParticleTime*)collection->GetParameterPtr(PARTICLEUSAGE_LIFE); in SetDefaultValues()
663 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in SetDefaultValues()
666 …const int startIndex = (isAscendingOrder)? collection->GetCount() : collection->GetCapacity() - co… in SetDefaultValues()
669 … u16* pFreeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_FREEINDEX, PARTICLE_BUFFER_FRONT); in SetDefaultValues()
671 pFreeIndex += collection->GetCapacity() - collection->GetCount() - 1; in SetDefaultValues()
673 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in SetDefaultValues()
676 …nw::math::VEC3* translate = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PAR… in SetDefaultValues()
679 …nw::math::VEC3* velocity = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTI… in SetDefaultValues()
682 …ParticleTime* limit = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_NEG_TIMELIMIT, PARTICL… in SetDefaultValues()
685 int minIndex = collection->GetMinActiveIndex(); in SetDefaultValues()
686 int maxIndex = collection->GetMaxActiveIndex(); in SetDefaultValues()
719 collection->SetMinActiveIndex(minIndex); in SetDefaultValues()
720 collection->SetMaxActiveIndex(maxIndex); in SetDefaultValues()
735 ParticleCollection* collection = this->GetParticleCollection(); in AddParticles() local
737 const int collectionCount = collection->GetCount(); in AddParticles()
738 const int collectionCapacity = collection->GetCapacity(); in AddParticles()
766 SetDefaultValues(collection, positions, particleCount, time, isAscendingOrder); in AddParticles()
770 collection->SetCount(collectionCount + particleCount); in AddParticles()
785 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in AddParticles()
788 … (math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_FRONT); in AddParticles()
791 … (math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTICLE_BUFFER_FRONT); in AddParticles()
810 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in AddParticles()
813 (math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_FRONT); in AddParticles()
816 (math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTICLE_BUFFER_FRONT); in AddParticles()
900 ParticleCollection* collection = this->GetParticleCollection(); in AddParticles() local
902 const int collectionCount = collection->GetCount(); in AddParticles()
903 const int collectionCapacity = collection->GetCapacity(); in AddParticles()
922 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in AddParticles()
925 …const int startIndex = (isAscendingOrder)? collection->GetCount() : collection->GetCapacity() - co… in AddParticles()
928 … u16* pFreeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_FREEINDEX, PARTICLE_BUFFER_FRONT); in AddParticles()
930 pFreeIndex += collection->GetCapacity() - collection->GetCount() - 1; in AddParticles()
932 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in AddParticles()
935 …nw::math::VEC3* velocity = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTI… in AddParticles()
938 int minIndex = collection->GetMinActiveIndex(); in AddParticles()
939 int maxIndex = collection->GetMaxActiveIndex(); in AddParticles()
966 collection->SetMinActiveIndex(minIndex); in AddParticles()
967 collection->SetMaxActiveIndex(maxIndex); in AddParticles()
969 collection->SetCount(collectionCount + particleCount); in AddParticles()
984 ParticleCollection* collection = this->GetParticleCollection(); in InitializeParticles() local
986 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in InitializeParticles()
1006 if (collection->GetBufferSide()) in InitializeParticles()
1259 …nw::math::VEC3* trans = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICL… in InitializeParticles()
1339 …nw::math::VEC3* trans = (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICL… in InitializeParticles()
1481 …ParticleTime* limit = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_NEG_TIMELIMIT, PARTICL… in InitializeParticles()
1596 ParticleCollection* collection, in ParticleAccelarationUpdater() argument
1606 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleAccelarationUpdater()
1613 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleAccelarationUpdater()
1614 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleAccelarationUpdater()
1624 ParticleCollection* collection, in ParticleFloatImmediateUpdater() argument
1631 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleFloatImmediateUpdater()
1635 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediateUpdater()
1647 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediateUpdater()
1664 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleFloatImmediateUpdater()
1665 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleFloatImmediateUpdater()
1672 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleFloatImmediateUpdater()
1673 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleFloatImmediateUpdater()
1710 ParticleCollection* collection, in ParticleFloatImmediate4KeyUpdater() argument
1716 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleFloatImmediate4KeyUpdater()
1720 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediate4KeyUpdater()
1726 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediate4KeyUpdater()
1739 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleFloatImmediate4KeyUpdater()
1740 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleFloatImmediate4KeyUpdater()
1778 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleFloatImmediate4KeyUpdater()
1779 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleFloatImmediate4KeyUpdater()
1821 ParticleCollection* collection, in ParticleVector3Immediate4KeyUpdater() argument
1827 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleVector3Immediate4KeyUpdater()
1831 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleVector3Immediate4KeyUpdater()
1837 math::VEC3* storagePtr = (math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleVector3Immediate4KeyUpdater()
1850 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleVector3Immediate4KeyUpdater()
1851 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleVector3Immediate4KeyUpdater()
1889 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleVector3Immediate4KeyUpdater()
1890 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleVector3Immediate4KeyUpdater()
1934 ParticleCollection* collection, in ParticleGravityUpdater() argument
1954 storagePtr += collection->GetMinActiveIndex(); in ParticleGravityUpdater()
1955 const int count = collection->GetMaxActiveIndex() - collection->GetMinActiveIndex() + 1; in ParticleGravityUpdater()
1963 ParticleCollection* collection, in ParticleSpinUpdater() argument
1973 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleSpinUpdater()
1986 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleSpinUpdater()
1987 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleSpinUpdater()
2003 ParticleCollection* collection, in ParticleRandomUpdater() argument
2014 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleRandomUpdater()
2018 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleRandomUpdater()
2024 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleRandomUpdater()
2039 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleRandomUpdater()
2040 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleRandomUpdater()
2053 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleRandomUpdater()
2054 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleRandomUpdater()
2086 ParticleCollection* collection, in ParticleVector2ImmediateUpdater() argument
2093 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleVector2ImmediateUpdater()
2097 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleVector2ImmediateUpdater()
2119 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector2ImmediateUpdater()
2124 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleVector2ImmediateUpdater()
2125 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleVector2ImmediateUpdater()
2183 ParticleCollection* collection, in ParticleVector3AdditiveUpdater() argument
2189 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleVector3AdditiveUpdater()
2193 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleVector3AdditiveUpdater()
2205 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3AdditiveUpdater()
2220 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleVector3AdditiveUpdater()
2221 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleVector3AdditiveUpdater()
2296 ParticleCollection* collection, in ParticleVector3ImmediateUpdater() argument
2301 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleVector3ImmediateUpdater()
2305 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleVector3ImmediateUpdater()
2327 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3ImmediateUpdater()
2332 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleVector3ImmediateUpdater()
2333 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleVector3ImmediateUpdater()
2401 ParticleCollection* collection, in ParticleVector3RandomAdditiveUpdater() argument
2407 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleVector3RandomAdditiveUpdater()
2411 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleVector3RandomAdditiveUpdater()
2433 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3RandomAdditiveUpdater()
2438 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleVector3RandomAdditiveUpdater()
2439 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleVector3RandomAdditiveUpdater()
2507 ParticleCollection* collection, in ParticleRotateUpVectorUpdater() argument
2518 (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_ROTATE, PARTICLE_BUFFER_FRONT); in ParticleRotateUpVectorUpdater()
2528 … (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTICLE_BUFFER_FRONT); in ParticleRotateUpVectorUpdater()
2530 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleRotateUpVectorUpdater()
2531 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleRotateUpVectorUpdater()
2553 … (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_FRONT); in ParticleRotateUpVectorUpdater()
2563 … (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_BACK); in ParticleRotateUpVectorUpdater()
2566 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleRotateUpVectorUpdater()
2567 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleRotateUpVectorUpdater()
2594 ParticleCollection* collection, in ParticleTexturePatternUpdater() argument
2601 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleTexturePatternUpdater()
2605 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleTexturePatternUpdater()
2627 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleTexturePatternUpdater()
2638 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in ParticleTexturePatternUpdater()
2639 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in ParticleTexturePatternUpdater()
2704 ParticleCollection* collection, in ParticleChildUpdater() argument
2721 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in ParticleChildUpdater()
2725 collection->GetStreamOrParameter(PARTICLEUSAGE_LIFE, &life, &lifeParam, PARTICLE_BUFFER_FRONT); in ParticleChildUpdater()
2738 … (nw::math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_FRONT); in ParticleChildUpdater()
2742collection->GetStreamOrParameter(PARTICLEUSAGE_ROTATE, &rotate, &rotateParam, PARTICLE_BUFFER_FRON… in ParticleChildUpdater()
2746collection->GetStreamOrParameter(PARTICLEUSAGE_SCALE, &scale, &scaleParam, PARTICLE_BUFFER_FRONT); in ParticleChildUpdater()
2758 …ParticleTime* limit = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_NEG_TIMELIMIT, PARTICL… in ParticleChildUpdater()
3034 ParticleCollection* collection = this->GetParticleCollection(); in UpdateParticles() local
3037 collection->SwapBuffer(); in UpdateParticles()
3045 int size = collection->GetMaxActiveIndex() + 1; in UpdateParticles()
3047 collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3073 const int collectionCapacity = collection->GetCapacity(); in UpdateParticles()
3074 const int count = collection->GetCount(); in UpdateParticles()
3099 targetStream = workUpdater.m_TargetStreams[collection->GetLastBuffer()]; in UpdateParticles()
3104 ParticleAccelarationUpdater(updater.ptr(), collection, diffTime); in UpdateParticles()
3107 ParticleFloatImmediateUpdater(updater.ptr(), collection, time, updaterIndex); in UpdateParticles()
3110 ParticleFloatImmediate4KeyUpdater(updater.ptr(), collection, time); in UpdateParticles()
3113 ParticleVector3Immediate4KeyUpdater(updater.ptr(), collection, time); in UpdateParticles()
3116 … ParticleGravityUpdater((nw::math::VEC3*)targetStream, updater.ptr(), collection, diffTime); in UpdateParticles()
3119 ParticleSpinUpdater(updater.ptr(), collection, diffTime); in UpdateParticles()
3122 … ParticleRandomUpdater(updater.ptr(), collection, time, prevTime, this->m_ParticleRandom); in UpdateParticles()
3125 ParticleVector2ImmediateUpdater(updater.ptr(), collection, time, updaterIndex); in UpdateParticles()
3133 … ParticleVector3AdditiveUpdater(updater.ptr(), collection, time, diffTime, updaterIndex); in UpdateParticles()
3146 storagePtr += collection->GetMinActiveIndex(); in UpdateParticles()
3147 … const int processCount = collection->GetMaxActiveIndex() - collection->GetMinActiveIndex() + 1; in UpdateParticles()
3160 … ParticleVector3ImmediateUpdater(updater.ptr(), collection, time, updaterIndex); in UpdateParticles()
3171 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in UpdateParticles()
3172 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in UpdateParticles()
3187 … ParticleVector3RandomAdditiveUpdater(updater.ptr(), collection, time, diffTime, updaterIndex); in UpdateParticles()
3198 const u32 maxIndex = collection->GetMaxActiveIndex() + 1; in UpdateParticles()
3199 for (u32 index = collection->GetMinActiveIndex(); index < maxIndex; ++index) in UpdateParticles()
3217 ParticleRotateUpVectorUpdater(updater.ptr(), collection, prevTranslate); in UpdateParticles()
3221 ParticleTexturePatternUpdater(updater.ptr(), collection, time, updaterIndex); in UpdateParticles()
3228 … activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_BACK); in UpdateParticles()
3232 … activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3240 …ParticleChildUpdater(updater.ptr(), collection, activeIndex, startIndex, incrIndex, count, time, p… in UpdateParticles()
3242 …ParticleChildUpdater(updater.ptr(), collection, activeIndex, startIndex, incrIndex, count, time, p… in UpdateParticles()
3278 … (math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_TRANSLATE, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3281 … (math::VEC3*)collection->GetStreamPtr(PARTICLEUSAGE_VELOCITY, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3283 trans += collection->GetMinActiveIndex(); in UpdateParticles()
3284 velocity += collection->GetMinActiveIndex(); in UpdateParticles()
3285 … const int processCount = collection->GetMaxActiveIndex() - collection->GetMinActiveIndex() + 1; in UpdateParticles()
3298 int minActiveIndex = collection->GetMinActiveIndex(); in UpdateParticles()
3299 int maxActiveIndex = collection->GetMaxActiveIndex(); in UpdateParticles()
3311 … f32* limit = (f32*)collection->GetStreamPtr(PARTICLEUSAGE_NEG_TIMELIMIT, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3321 const int prevCollectionCount = collection->GetCount(); in UpdateParticles()
3327 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_BACK); in UpdateParticles()
3328 …u16* newActiveIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FR… in UpdateParticles()
3329 … u16* freeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_FREEINDEX, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3377 … f32* limit = (f32*)collection->GetStreamPtr(PARTICLEUSAGE_NEG_TIMELIMIT, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3387 const int prevCollectionCount = collection->GetCount(); in UpdateParticles()
3393 …u16* activeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in UpdateParticles()
3394 … u16* freeIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_FREEINDEX, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3434 …ParticleTime* birth = (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER… in UpdateParticles()
3437 const int prevCollectionCount = collection->GetCount(); in UpdateParticles()
3448 …u16* pActiveIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_BACK… in UpdateParticles()
3451 …u16* pAliveIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in UpdateParticles()
3454 …u16* pDestroyIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_FREEINDEX, PARTICLE_BUFFER_FRONT… in UpdateParticles()
3457 if (collection->IsStream(PARTICLEUSAGE_LIFE)) in UpdateParticles()
3460 … (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_LIFE, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3493 (ParticleTime*)collection->GetParameterPtr(PARTICLEUSAGE_LIFE); in UpdateParticles()
3528 …u16* pActiveIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRON… in UpdateParticles()
3531 …u16* pAliveIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_ACTIVEINDEX, PARTICLE_BUFFER_FRONT… in UpdateParticles()
3534 …u16* pDestroyIndex = (u16*)collection->GetStreamPtr(PARTICLEUSAGE_FREEINDEX, PARTICLE_BUFFER_FRONT… in UpdateParticles()
3537 if (collection->IsStream(PARTICLEUSAGE_LIFE)) in UpdateParticles()
3540 … (ParticleTime*)collection->GetStreamPtr(PARTICLEUSAGE_LIFE, PARTICLE_BUFFER_FRONT); in UpdateParticles()
3573 (ParticleTime*)collection->GetParameterPtr(PARTICLEUSAGE_LIFE); in UpdateParticles()
3608 collection->SetMinActiveIndex(minActiveIndex); in UpdateParticles()
3609 collection->SetMaxActiveIndex(maxActiveIndex); in UpdateParticles()
3610 collection->SetCount(aliveCount); in UpdateParticles()