RenderSpritesRenderingStep disposal
#2
Thank you for investigating this.

I have checked that and found out that in case when all sprite batches are removed from the scene before the DXScene is disposed, then the RenderSpritesRenderingStep step was not disposed (as shown in your log file). This may lead to some unmanaged resources (vertex and pixel shader) to not being released. What is more, SpriteBatch objects that were removed from the DXScene were not disposed also (this may leak vertex and index buffer).

I have improved the engine so that RenderSpritesRenderingStep is always correctly disposed. Also all the SpriteBatch objects will release their resources (if not by the DXScene then in finalizer).
Andrej Benedik
  


Messages In This Thread
RenderSpritesRenderingStep disposal - by janovrom - 06-23-2022, 11:11 AM
RE: RenderSpritesRenderingStep disposal - by abenedik - 09-08-2022, 12:04 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)