Skip to content

Conversation

RedImp1470
Copy link
Member

@RedImp1470 RedImp1470 commented Aug 11, 2022

Summary:

  • Added EndOfFrame event to RenderCanvas
  • Refactored IDisposable implementations
  • PointCloud example (ImGui) now only exchanges the PointCloudComponent instead of creating a whole new Point Cloud rendering object when a new file is loaded

Closes #591
Closes #584 due to IDisposable changes
Closes #607

@RedImp1470 RedImp1470 linked an issue Aug 11, 2022 that may be closed by this pull request
4 tasks
@RedImp1470 RedImp1470 linked an issue Aug 15, 2022 that may be closed by this pull request
Copy link
Member

@wrestledBearOnce wrestledBearOnce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SolarLint says: revisit the abstract class Effect and either implement the IDisposable-pattern there (do not use abstract), or move the interface implementation to the SurfaceEffectBase class.

Everything else looks and works fine for me.

Perhaps we should measure the impact of the event after each frame, hopefully this is negligible.

Copy link
Member

@wrestledBearOnce wrestledBearOnce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@wrestledBearOnce wrestledBearOnce merged commit 08b1c2c into develop Aug 30, 2022
@wrestledBearOnce wrestledBearOnce deleted the feature/591-dispose-pointCloudComponent branch August 30, 2022 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

PointCloud Payload isn't disposed when loading a new PointCloud at runtime RenderCanvasGameWindow OnUnload calls RCI.Dispose
2 participants