Lines Matching refs:this

132         return this->m_ResParticleCollection;  in GetResParticleCollection()
139 return this->m_ResParticleCollection; in GetResParticleCollection()
146 return this->m_Capacity; in GetCapacity()
153 return this->m_Count; in GetCount()
161 this->m_Count = count; in SetCount()
168 return this->m_MinActiveIndex; in GetMinActiveIndex()
175 return this->m_MaxActiveIndex; in GetMaxActiveIndex()
182 this->m_MinActiveIndex = minActiveIndex; in SetMinActiveIndex()
189 this->m_MaxActiveIndex = maxActiveIndex; in SetMaxActiveIndex()
199 return this->m_IsStream[usage]; in IsStream()
205 return this->m_BufferSide; in GetBufferSide()
216 if (!this->m_IsStream[usage]) in GetStreamPtr()
221 if (this->m_BufferSide) in GetStreamPtr()
226 return this->m_StreamPtr[usage][side]; in GetStreamPtr()
237 if (!this->m_IsStream[usage]) in GetStreamPtr()
242 if (this->m_BufferSide) in GetStreamPtr()
247 return this->m_StreamPtr[usage][side]; in GetStreamPtr()
257 if (this->m_IsStream[usage]) in GetParameterPtr()
262 return this->m_StreamPtr[usage][0]; in GetParameterPtr()
288 if (this->m_IsStream[usage]) in GetStreamOrParameter()
290 if (this->m_BufferSide) in GetStreamOrParameter()
295 *stream = (T*)this->m_StreamPtr[usage][side]; in GetStreamOrParameter()
302 memcpy(param, this->m_StreamPtr[usage][0], sizeof(T)); in GetStreamOrParameter()
316 ParticleShape* shape = this->m_ParticleShape; in SwapBuffer()
319 if (this->m_BufferSide) in SwapBuffer()
324 this->m_BufferSide = !this->m_BufferSide; in SwapBuffer()
325 shape->SetBufferSide(this->m_BufferSide); in SwapBuffer()
327 int size = this->GetMaxActiveIndex() + 1; in SwapBuffer()
330 void* src = this->m_StreamPtr[usage][side]; in SwapBuffer()
331 void* dst = this->m_StreamPtr[usage][(ParticleBuffer)(1 - side)]; in SwapBuffer()
337 std::memcpy(dst, src, this->m_StreamStride[usage] * size); in SwapBuffer()
356 (ParticleTime*)this->GetStreamPtr(PARTICLEUSAGE_NEG_TIMELIMIT, PARTICLE_BUFFER_FRONT); in KillParticle()
362 (ParticleTime*)this->GetStreamPtr(PARTICLEUSAGE_BIRTH, PARTICLE_BUFFER_FRONT); in KillParticle()
366 if (this->IsStream(PARTICLEUSAGE_LIFE)) in KillParticle()
369 (ParticleTime*)this->GetStreamPtr(PARTICLEUSAGE_LIFE, PARTICLE_BUFFER_FRONT); in KillParticle()
374 lifeParam = *(ParticleTime*)this->GetParameterPtr(PARTICLEUSAGE_LIFE); in KillParticle()