Lines Matching refs:particleShape
266 ParticleShape* particleShape = particleModel->GetParticleShapes(shapeIndex); in RenderParticleShape() local
267 NW_NULL_ASSERT(particleShape); in RenderParticleShape()
269 NW_ASSERT(particleShape->GetResParticleShape().ptr() == resource.ptr()); in RenderParticleShape()
278 particleShape->FlushBuffer(); in RenderParticleShape()
281 int bufferSide = particleShape->GetBufferSide(); in RenderParticleShape()
282 …internal::NWUseCmdlist(particleShape->m_CommandCache[bufferSide], particleShape->m_CommandCacheSiz… in RenderParticleShape()
453 u32 streamOffset = particleShape->GetPrimitiveStreamOffset(PARTICLE_BUFFER_FRONT); in RenderParticleShape()
470 for (int index = 0; index < particleShape->GetVertexAttributesCount(); ++index) in RenderParticleShape()
472 int format = particleShape->GetVertexAttributeFormatType(index); in RenderParticleShape()
478 if (particleShape->IsVertexStream(index)) in RenderParticleShape()
481 int count = particleShape->GetVertexCapacity(); in RenderParticleShape()
482 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
485 particleShape->GetVertexStreamPtr(index, PARTICLE_BUFFER_FRONT)); in RenderParticleShape()
495 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
497 const f32* ptr = particleShape->GetVertexParameter(index); in RenderParticleShape()
507 particleShape->m_PrimitiveCommandCache, in RenderParticleShape()
508 particleShape->m_PrimitiveCommandCacheSize); in RenderParticleShape()
511 particleShape->m_DeactivateVertexCommandCache, in RenderParticleShape()
512 particleShape->m_DeactivateVertexCommandCacheSize); in RenderParticleShape()