Lines Matching refs:particleShape
269 ParticleShape* particleShape = particleModel->GetParticleShapes(shapeIndex); in RenderParticleShape() local
270 NW_NULL_ASSERT(particleShape); in RenderParticleShape()
272 NW_ASSERT(particleShape->GetResParticleShape().ptr() == resource.ptr()); in RenderParticleShape()
276 particleShape->FlushBuffer(); in RenderParticleShape()
279 int bufferSide = particleShape->GetBufferSide(); in RenderParticleShape()
280 …internal::NWUseCmdlist(particleShape->m_CommandCache[bufferSide], particleShape->m_CommandCacheSiz… in RenderParticleShape()
451 u32 streamOffset = particleShape->GetPrimitiveStreamOffset(PARTICLE_BUFFER_FRONT); in RenderParticleShape()
468 for (int index = 0; index < particleShape->GetVertexAttributesCount(); ++index) in RenderParticleShape()
470 int format = particleShape->GetVertexAttributeFormatType(index); in RenderParticleShape()
476 if (particleShape->IsVertexStream(index)) in RenderParticleShape()
479 int count = particleShape->GetVertexCapacity(); in RenderParticleShape()
480 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
483 particleShape->GetVertexStreamPtr(index, PARTICLE_BUFFER_FRONT)); in RenderParticleShape()
493 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
495 const f32* ptr = particleShape->GetVertexParameter(index); in RenderParticleShape()
505 particleShape->m_PrimitiveCommandCache, in RenderParticleShape()
506 particleShape->m_PrimitiveCommandCacheSize); in RenderParticleShape()
509 particleShape->m_DeactivateVertexCommandCache, in RenderParticleShape()
510 particleShape->m_DeactivateVertexCommandCacheSize); in RenderParticleShape()