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

Refactor the render instance logic in #9903 so that it's easier for other components to adopt. #10002

Merged
merged 7 commits into from
Oct 8, 2023

Commits on Oct 3, 2023

  1. Refactor the render instance logic in bevyengine#9903 so that it's ea…

    …sier for
    
    other components to adopt.
    
    Currently, the only way for custom components that participate in
    rendering to opt into the higher-performance extraction method in bevyengine#9903
    is to implement the `RenderInstances` data structure and the extraction
    logic manually. This is inconvenient compared to the `ExtractComponent`
    API.
    
    This commit creates a new `ExtractToRenderInstance` trait that mirrors
    the existing `ExtractComponent` method but uses the higher-performance
    approach that bevyengine#9903 uses. This makes high-performance rendering
    components essentially as easy to write as the existing ones based on
    component extraction.
    pcwalton committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ce8d88d View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    bb6acf0 View commit details
    Browse the repository at this point in the history
  2. Fix symlink issue

    pcwalton committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    84cb2d7 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Fix doc test

    pcwalton committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    205c364 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa49ce3 View commit details
    Browse the repository at this point in the history
  3. Fix some naming

    pcwalton committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    6868e86 View commit details
    Browse the repository at this point in the history
  4. Fix doc failure

    pcwalton committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    079bdcb View commit details
    Browse the repository at this point in the history