Lines Matching refs:storagePtr
978 f32* storagePtr = (f32*)targetStream; in InitializeParticles() local
988 storagePtr[index] = value; in InitializeParticles()
1001 nw::math::VEC2* storagePtr = (nw::math::VEC2*)targetStream; in InitializeParticles() local
1011 storagePtr[index] = value; in InitializeParticles()
1025 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1026 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1036 storagePtr[index] = value; in InitializeParticles()
1049 f32* storagePtr = (f32*)targetStream; in InitializeParticles() local
1050 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1068 storagePtr[index] = value; in InitializeParticles()
1081 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1082 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1096 storagePtr[index] += velocity; in InitializeParticles()
1109 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1110 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1189 storagePtr[index] += velocity; in InitializeParticles()
1202 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1203 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1220 storagePtr[index] += velocity; in InitializeParticles()
1233 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1234 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1269 storagePtr[index] += velocity; in InitializeParticles()
1282 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1283 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1299 storagePtr[index] += velocity; in InitializeParticles()
1312 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1313 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1336 storagePtr[index] = value; in InitializeParticles()
1349 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1350 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1384 storagePtr[index] = value; in InitializeParticles()
1397 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1398 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1411 storagePtr[index].x *= floatRandom; in InitializeParticles()
1412 storagePtr[index].y *= floatRandom; in InitializeParticles()
1413 storagePtr[index].z *= floatRandom; in InitializeParticles()
1430 ParticleTime* storagePtr = (ParticleTime*)targetStream; in InitializeParticles() local
1431 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1457 storagePtr[index] = value; in InitializeParticles()
1551 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleAccelarationUpdater() local
1552 NW_NULL_ASSERT(storagePtr); in ParticleAccelarationUpdater()
1561 storagePtr[index] *= factor; in ParticleAccelarationUpdater()
1592 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediateUpdater() local
1593 NW_NULL_ASSERT(storagePtr); in ParticleFloatImmediateUpdater()
1612 storagePtr[index] = baseValue; in ParticleFloatImmediateUpdater()
1646 storagePtr[index] = value; in ParticleFloatImmediateUpdater()
1672 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediate4KeyUpdater() local
1673 NW_NULL_ASSERT(storagePtr); in ParticleFloatImmediate4KeyUpdater()
1707 storagePtr[index] = value; in ParticleFloatImmediate4KeyUpdater()
1735 storagePtr[index] = value; in ParticleFloatImmediate4KeyUpdater()
1744 nw::math::VEC3* storagePtr, in ParticleGravityUpdater() argument
1752 NW_NULL_ASSERT(storagePtr); in ParticleGravityUpdater()
1766 storagePtr += collection->GetMinActiveIndex(); in ParticleGravityUpdater()
1768 internal::VEC3ArrayAddScalar(storagePtr, &velocity, count); in ParticleGravityUpdater()
1785 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleSpinUpdater() local
1786 NW_NULL_ASSERT(storagePtr); in ParticleSpinUpdater()
1801 nw::math::VEC3TransformNormal(&value, matrix, storagePtr[index]); in ParticleSpinUpdater()
1804 storagePtr[index].x = value.x; in ParticleSpinUpdater()
1805 storagePtr[index].y = value.y; in ParticleSpinUpdater()
1806 storagePtr[index].z = value.z; in ParticleSpinUpdater()
1833 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleRandomUpdater() local
1834 NW_NULL_ASSERT(storagePtr); in ParticleRandomUpdater()
1851 storagePtr[index].x += power.x * random.NextFloatSignedOne(); in ParticleRandomUpdater()
1852 storagePtr[index].y += power.y * random.NextFloatSignedOne(); in ParticleRandomUpdater()
1853 storagePtr[index].z += power.z * random.NextFloatSignedOne(); in ParticleRandomUpdater()
1882 storagePtr[index].x += power.x * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
1883 storagePtr[index].y += power.y * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
1884 storagePtr[index].z += power.z * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
1928 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector2ImmediateUpdater() local
1929 NW_NULL_ASSERT(storagePtr); in ParticleVector2ImmediateUpdater()
1984 storagePtr[index] = value; in ParticleVector2ImmediateUpdater()
2014 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3AdditiveUpdater() local
2015 NW_NULL_ASSERT(storagePtr); in ParticleVector3AdditiveUpdater()
2096 storagePtr[index].x += value.x * diffTime; in ParticleVector3AdditiveUpdater()
2097 storagePtr[index].y += value.y * diffTime; in ParticleVector3AdditiveUpdater()
2098 storagePtr[index].z += value.z * diffTime; in ParticleVector3AdditiveUpdater()
2136 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3ImmediateUpdater() local
2137 NW_NULL_ASSERT(storagePtr); in ParticleVector3ImmediateUpdater()
2204 storagePtr[index] = value; in ParticleVector3ImmediateUpdater()
2242 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3RandomAdditiveUpdater() local
2243 NW_NULL_ASSERT(storagePtr); in ParticleVector3RandomAdditiveUpdater()
2310 storagePtr[index] = value * diffTime; in ParticleVector3RandomAdditiveUpdater()
2325 nw::math::VEC3* storagePtr = in ParticleRotateUpVectorUpdater() local
2327 NW_NULL_ASSERT(storagePtr); in ParticleRotateUpVectorUpdater()
2347 storagePtr[index].x = nw::math::AcosRad(ySrcAxis.y); in ParticleRotateUpVectorUpdater()
2351 storagePtr[index].y = ::std::atan2f(ySrcAxis.x, ySrcAxis.z); in ParticleRotateUpVectorUpdater()
2353 storagePtr[index].z = 0; in ParticleRotateUpVectorUpdater()
2375 storagePtr[index].x = nw::math::AcosRad(ySrcAxis.y); in ParticleRotateUpVectorUpdater()
2379 storagePtr[index].y = ::std::atan2f(ySrcAxis.x, ySrcAxis.z); in ParticleRotateUpVectorUpdater()
2381 storagePtr[index].z = 0; in ParticleRotateUpVectorUpdater()
2426 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleTexturePatternUpdater() local
2427 NW_NULL_ASSERT(storagePtr); in ParticleTexturePatternUpdater()
2493 storagePtr[index].x = -0.5f + (halfDivisionX) - (value % divisionX); in ParticleTexturePatternUpdater()
2494 storagePtr[index].y = 0.5f - (halfDivisionY) + (divisionY - (value / divisionX) - 1); in ParticleTexturePatternUpdater()
2867 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
2868 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
2873 storagePtr += collection->GetMinActiveIndex(); in UpdateParticles()
2875 internal::VEC3ArrayAddScalar(storagePtr, &defaultValue, processCount); in UpdateParticles()
2895 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
2896 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
2901 storagePtr[index] = defaultValue; in UpdateParticles()
2922 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
2923 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
2928 storagePtr[index] = defaultValue * diffTime; in UpdateParticles()