MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetMaxParticles

Method SetMaxParticles

trinity/Particle/Tr2GpuParticleSystem.cpp:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void 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
180void Tr2GpuParticleSystem::ReleaseResources( TriStorage s )
181{

Callers

nothing calls this directly

Calls 1

ReleaseResourcesMethod · 0.45

Tested by

no test coverage detected