Lines Matching refs:storagePtr

1024                 f32* storagePtr = (f32*)targetStream;  in InitializeParticles()  local
1034 storagePtr[index] = value; in InitializeParticles()
1047 nw::math::VEC2* storagePtr = (nw::math::VEC2*)targetStream; in InitializeParticles() local
1057 storagePtr[index] = value; in InitializeParticles()
1071 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1072 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1082 storagePtr[index] = value; in InitializeParticles()
1095 f32* storagePtr = (f32*)targetStream; in InitializeParticles() local
1096 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1114 storagePtr[index] = value; in InitializeParticles()
1127 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1128 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1142 storagePtr[index] += velocity; in InitializeParticles()
1157 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1158 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1243 storagePtr[index] += velocity; in InitializeParticles()
1256 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1257 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1274 storagePtr[index] += velocity; in InitializeParticles()
1287 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1288 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1323 storagePtr[index] += velocity; in InitializeParticles()
1336 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1337 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1353 storagePtr[index] += velocity; in InitializeParticles()
1366 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1367 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1390 storagePtr[index] = value; in InitializeParticles()
1403 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1404 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1438 storagePtr[index] = value; in InitializeParticles()
1451 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in InitializeParticles() local
1452 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1465 storagePtr[index].x *= floatRandom; in InitializeParticles()
1466 storagePtr[index].y *= floatRandom; in InitializeParticles()
1467 storagePtr[index].z *= floatRandom; in InitializeParticles()
1484 ParticleTime* storagePtr = (ParticleTime*)targetStream; in InitializeParticles() local
1485 NW_NULL_ASSERT(storagePtr); in InitializeParticles()
1511 storagePtr[index] = value; in InitializeParticles()
1606 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleAccelarationUpdater() local
1607 NW_NULL_ASSERT(storagePtr); in ParticleAccelarationUpdater()
1616 storagePtr[index] *= factor; in ParticleAccelarationUpdater()
1647 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediateUpdater() local
1648 NW_NULL_ASSERT(storagePtr); in ParticleFloatImmediateUpdater()
1667 storagePtr[index] = baseValue; in ParticleFloatImmediateUpdater()
1701 storagePtr[index] = value; in ParticleFloatImmediateUpdater()
1726 f32* storagePtr = (f32*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleFloatImmediate4KeyUpdater() local
1727 NW_NULL_ASSERT(storagePtr); in ParticleFloatImmediate4KeyUpdater()
1773 storagePtr[index] = (f32)value / 65535.f; in ParticleFloatImmediate4KeyUpdater()
1812 storagePtr[index] = (f32)value / 65535.f; in ParticleFloatImmediate4KeyUpdater()
1837 math::VEC3* storagePtr = (math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRONT); in ParticleVector3Immediate4KeyUpdater() local
1838 NW_NULL_ASSERT(storagePtr); in ParticleVector3Immediate4KeyUpdater()
1884 storagePtr[index] = value; in ParticleVector3Immediate4KeyUpdater()
1924 storagePtr[index] = value; in ParticleVector3Immediate4KeyUpdater()
1932 nw::math::VEC3* storagePtr, in ParticleGravityUpdater() argument
1940 NW_NULL_ASSERT(storagePtr); in ParticleGravityUpdater()
1954 storagePtr += collection->GetMinActiveIndex(); in ParticleGravityUpdater()
1956 internal::VEC3ArrayAddScalar(storagePtr, &velocity, count); in ParticleGravityUpdater()
1973 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleSpinUpdater() local
1974 NW_NULL_ASSERT(storagePtr); in ParticleSpinUpdater()
1989 nw::math::VEC3TransformNormal(&value, matrix, storagePtr[index]); in ParticleSpinUpdater()
1992 storagePtr[index].x = value.x; in ParticleSpinUpdater()
1993 storagePtr[index].y = value.y; in ParticleSpinUpdater()
1994 storagePtr[index].z = value.z; in ParticleSpinUpdater()
2024 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleRandomUpdater() local
2025 NW_NULL_ASSERT(storagePtr); in ParticleRandomUpdater()
2042 storagePtr[index].x += power.x * random.NextFloatSignedOne(); in ParticleRandomUpdater()
2043 storagePtr[index].y += power.y * random.NextFloatSignedOne(); in ParticleRandomUpdater()
2044 storagePtr[index].z += power.z * random.NextFloatSignedOne(); in ParticleRandomUpdater()
2073 storagePtr[index].x += power.x * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
2074 storagePtr[index].y += power.y * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
2075 storagePtr[index].z += power.z * random.NextFloatSignedOne() * processCount; in ParticleRandomUpdater()
2119 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector2ImmediateUpdater() local
2120 NW_NULL_ASSERT(storagePtr); in ParticleVector2ImmediateUpdater()
2175 storagePtr[index] = value; in ParticleVector2ImmediateUpdater()
2205 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3AdditiveUpdater() local
2206 NW_NULL_ASSERT(storagePtr); in ParticleVector3AdditiveUpdater()
2287 storagePtr[index].x += value.x * diffTime; in ParticleVector3AdditiveUpdater()
2288 storagePtr[index].y += value.y * diffTime; in ParticleVector3AdditiveUpdater()
2289 storagePtr[index].z += value.z * diffTime; in ParticleVector3AdditiveUpdater()
2327 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3ImmediateUpdater() local
2328 NW_NULL_ASSERT(storagePtr); in ParticleVector3ImmediateUpdater()
2395 storagePtr[index] = value; in ParticleVector3ImmediateUpdater()
2433 …nw::math::VEC3* storagePtr = (nw::math::VEC3*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleVector3RandomAdditiveUpdater() local
2434 NW_NULL_ASSERT(storagePtr); in ParticleVector3RandomAdditiveUpdater()
2501 storagePtr[index] = value * diffTime; in ParticleVector3RandomAdditiveUpdater()
2517 nw::math::VEC3* storagePtr = in ParticleRotateUpVectorUpdater() local
2519 NW_NULL_ASSERT(storagePtr); in ParticleRotateUpVectorUpdater()
2539 storagePtr[index].x = nw::math::AcosRad(ySrcAxis.y); in ParticleRotateUpVectorUpdater()
2543 storagePtr[index].y = ::std::atan2f(ySrcAxis.x, ySrcAxis.z); in ParticleRotateUpVectorUpdater()
2545 storagePtr[index].z = 0; in ParticleRotateUpVectorUpdater()
2576 storagePtr[index].x = nw::math::AcosRad(ySrcAxis.y); in ParticleRotateUpVectorUpdater()
2580 storagePtr[index].y = ::std::atan2f(ySrcAxis.x, ySrcAxis.z); in ParticleRotateUpVectorUpdater()
2582 storagePtr[index].z = 0; in ParticleRotateUpVectorUpdater()
2627 …nw::math::VEC2* storagePtr = (nw::math::VEC2*)collection->GetStreamPtr(target, PARTICLE_BUFFER_FRO… in ParticleTexturePatternUpdater() local
2628 NW_NULL_ASSERT(storagePtr); in ParticleTexturePatternUpdater()
2694 storagePtr[index].x = -0.5f + (halfDivisionX) - (value % divisionX); in ParticleTexturePatternUpdater()
2695 storagePtr[index].y = 0.5f - (halfDivisionY) + (divisionY - (value / divisionX) - 1); in ParticleTexturePatternUpdater()
3140 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
3141 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
3146 storagePtr += collection->GetMinActiveIndex(); in UpdateParticles()
3148 internal::VEC3ArrayAddScalar(storagePtr, &defaultValue, processCount); in UpdateParticles()
3168 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
3169 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
3174 storagePtr[index] = defaultValue; in UpdateParticles()
3195 nw::math::VEC3* storagePtr = (nw::math::VEC3*)targetStream; in UpdateParticles() local
3196 NW_NULL_ASSERT(storagePtr); in UpdateParticles()
3201 storagePtr[index] = defaultValue * diffTime; in UpdateParticles()