Lines Matching refs:storagePtr
1010 f32* storagePtr = (f32*)targetStream; in InitializeParticles() local
1020 storagePtr[index] = value; in InitializeParticles()
1033 nw::math::VEC2* storagePtr = (nw::math::VEC2*)targetStream; in InitializeParticles() local
1043 storagePtr[index] = value; in InitializeParticles()
1057 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1058 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1068 storagePtr[index] = value; in InitializeParticles()
1081 f32* storagePtr = (f32*)targetStream; in InitializeParticles() local
1082 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1100 storagePtr[index] = value; in InitializeParticles()
1113 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1114 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1128 storagePtr[index] += velocity; in InitializeParticles()
1143 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1144 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1229 storagePtr[index] += velocity; in InitializeParticles()
1242 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1243 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1260 storagePtr[index] += velocity; in InitializeParticles()
1273 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1274 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1309 storagePtr[index] += velocity; in InitializeParticles()
1322 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1323 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1339 storagePtr[index] += velocity; in InitializeParticles()
1352 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1353 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1376 storagePtr[index] = value; in InitializeParticles()
1389 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1390 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1424 storagePtr[index] = value; in InitializeParticles()
1437 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1438 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1451 storagePtr[index].x *= floatRandom; in InitializeParticles()
1452 storagePtr[index].y *= floatRandom; in InitializeParticles()
1453 storagePtr[index].z *= floatRandom; in InitializeParticles()
1470 ParticleTime* storagePtr = (ParticleTime*)targetStream; in InitializeParticles() local
1471 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1497 storagePtr[index] = value; in InitializeParticles()
1591 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleAccelarationUpdater() local
1592 NW_NULL_ASSERT(storagePtr); in ParticleAccelarationUpdater()
1601 storagePtr[index] *= factor; in ParticleAccelarationUpdater()
1632 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediateUpdater() local
1633 NW_NULL_ASSERT(storagePtr); in ParticleFloatImmediateUpdater()
1652 storagePtr[index] = baseValue; in ParticleFloatImmediateUpdater()
1686 storagePtr[index] = value; in ParticleFloatImmediateUpdater()
1711 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediate4KeyUpdater() local
1712 NW_NULL_ASSERT(storagePtr); in ParticleFloatImmediate4KeyUpdater()
1758 storagePtr[index] = (f32)value / 65535.f; in ParticleFloatImmediate4KeyUpdater()
1797 storagePtr[index] = (f32)value / 65535.f; in ParticleFloatImmediate4KeyUpdater()
1822 math::VEC3* storagePtr = (math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleVector3Immediate4KeyUpdater() local
1823 NW_NULL_ASSERT(storagePtr); in ParticleVector3Immediate4KeyUpdater()
1869 storagePtr[index] = value; in ParticleVector3Immediate4KeyUpdater()
1909 storagePtr[index] = value; in ParticleVector3Immediate4KeyUpdater()
1917 nw::math::VEC3* storagePtr, in ParticleGravityUpdater() argument
1925 NW_NULL_ASSERT(storagePtr); in ParticleGravityUpdater()
1939 storagePtr += collection->GetMinActiveIndex(); in ParticleGravityUpdater()
1941 internal::VEC3ArrayAddScalar(storagePtr, &velocity, count); in ParticleGravityUpdater()
1958 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleSpinUpdater() local
1959 NW_NULL_ASSERT(storagePtr); in ParticleSpinUpdater()
1974 nw::math::VEC3TransformNormal(&value, matrix, storagePtr[index]); in ParticleSpinUpdater()
1977 storagePtr[index].x = value.x; in ParticleSpinUpdater()
1978 storagePtr[index].y = value.y; in ParticleSpinUpdater()
1979 storagePtr[index].z = value.z; in ParticleSpinUpdater()
2009 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleRandomUpdater() local
2010 NW_NULL_ASSERT(storagePtr); in ParticleRandomUpdater()
2027 storagePtr[index].x += power.x * random.NextFloatSignedOne(); in ParticleRandomUpdater()
2028 storagePtr[index].y += power.y * random.NextFloatSignedOne(); in ParticleRandomUpdater()
2029 storagePtr[index].z += power.z * random.NextFloatSignedOne(); in ParticleRandomUpdater()
2058 storagePtr[index].x += power.x * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
2059 storagePtr[index].y += power.y * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
2060 storagePtr[index].z += power.z * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
2104 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector2ImmediateUpdater() local
2105 NW_NULL_ASSERT(storagePtr); in ParticleVector2ImmediateUpdater()
2160 storagePtr[index] = value; in ParticleVector2ImmediateUpdater()
2190 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3AdditiveUpdater() local
2191 NW_NULL_ASSERT(storagePtr); in ParticleVector3AdditiveUpdater()
2272 storagePtr[index].x += value.x * diffTime; in ParticleVector3AdditiveUpdater()
2273 storagePtr[index].y += value.y * diffTime; in ParticleVector3AdditiveUpdater()
2274 storagePtr[index].z += value.z * diffTime; in ParticleVector3AdditiveUpdater()
2312 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3ImmediateUpdater() local
2313 NW_NULL_ASSERT(storagePtr); in ParticleVector3ImmediateUpdater()
2380 storagePtr[index] = value; in ParticleVector3ImmediateUpdater()
2418 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3RandomAdditiveUpdater() local
2419 NW_NULL_ASSERT(storagePtr); in ParticleVector3RandomAdditiveUpdater()
2486 storagePtr[index] = value * diffTime; in ParticleVector3RandomAdditiveUpdater()
2501 nw::math::VEC3* storagePtr = in ParticleRotateUpVectorUpdater() local
2503 NW_NULL_ASSERT(storagePtr); in ParticleRotateUpVectorUpdater()
2523 storagePtr[index].x = nw::math::AcosRad(ySrcAxis.y); in ParticleRotateUpVectorUpdater()
2527 storagePtr[index].y = ::std::atan2f(ySrcAxis.x, ySrcAxis.z); in ParticleRotateUpVectorUpdater()
2529 storagePtr[index].z = 0; in ParticleRotateUpVectorUpdater()
2551 storagePtr[index].x = nw::math::AcosRad(ySrcAxis.y); in ParticleRotateUpVectorUpdater()
2555 storagePtr[index].y = ::std::atan2f(ySrcAxis.x, ySrcAxis.z); in ParticleRotateUpVectorUpdater()
2557 storagePtr[index].z = 0; in ParticleRotateUpVectorUpdater()
2602 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleTexturePatternUpdater() local
2603 NW_NULL_ASSERT(storagePtr); in ParticleTexturePatternUpdater()
2669 storagePtr[index].x = -0.5f + (halfDivisionX) - (value % divisionX); in ParticleTexturePatternUpdater()
2670 storagePtr[index].y = 0.5f - (halfDivisionY) + (divisionY - (value / divisionX) - 1); in ParticleTexturePatternUpdater()
3064 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
3065 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
3070 storagePtr += collection->GetMinActiveIndex(); in UpdateParticles()
3072 internal::VEC3ArrayAddScalar(storagePtr, &defaultValue, processCount); in UpdateParticles()
3092 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
3093 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
3098 storagePtr[index] = defaultValue; in UpdateParticles()
3119 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
3120 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
3125 storagePtr[index] = defaultValue * diffTime; in UpdateParticles()