| 167 | } |
| 168 | |
| 169 | void Tr2GpuParticleSystem::SetMaxParticles( uint32_t maxParticles ) |
| 170 | { |
| 171 | m_maxParticles = maxParticles; |
| 172 | m_particleData->ReleaseResources( TRISTORAGE_ALL ); |
| 173 | m_deadList->ReleaseResources( TRISTORAGE_ALL ); |
| 174 | m_visibleList->ReleaseResources( TRISTORAGE_ALL ); |
| 175 | m_counters->ReleaseResources( TRISTORAGE_ALL ); |
| 176 | PrepareResources(); |
| 177 | Clear(); |
| 178 | } |
| 179 | |
| 180 | void Tr2GpuParticleSystem::ReleaseResources( TriStorage s ) |
| 181 | { |
nothing calls this directly
no test coverage detected