Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render bundles implementation #88

Merged
merged 7 commits into from
Dec 2, 2024
Merged

Conversation

martinlaxenaire
Copy link
Owner

  • Added a BufferBindingOffsetChild class to create a buffer binding child using another buffer binding parent GPU buffer with an offset (allows to handle multiple transformations buffers into a single large buffer).
  • Added a RenderBundle class. This class can create a parent binding buffer, therefore introducing major performances optimizations (up to +150% CPU perf gain in some edge cases).
  • Updated the Scene and GPURenderer classes to handle the new RenderBundle class.
  • Fixed the Light classes not working when passing a GPUCurtains instance to the constructor.
  • Updated tests, examples and website.

@martinlaxenaire martinlaxenaire merged commit 17b94a9 into develop Dec 2, 2024
@martinlaxenaire martinlaxenaire deleted the render-bundles-test branch December 2, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant