-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Document PipelineCache
and related types
#5600
Conversation
Add documenting comments to `PipelineCache` and a few other related types in the same file.
Two small concerns, then this LGTM. |
Co-authored-by: Alice Cecile <[email protected]>
@alice-i-cecile for final (?) review after all fixed, thanks! |
Tiny rant : changes like #3979 that introduced a large part of this code should not have been allowed to merge without a single comment on the entire file. I don't know if there's a policy now, but if there's none I'd like to suggest raising the bar a bit and strongly suggesting (if not requiring) at least a minimal documenting of new features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bevyengine/rendering-team can I get a review from one of y'all? I'm happy with this from a docs perspective but not fully confident about the domain specific content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good. Just one comment
# Objective `ShaderData` is marked as public, but is an internal type only used by one other internal type, so it should be made private. ## Solution `ShaderData` is only used in `ShaderCache`, and the latter is private, so there is no need to make the former public. This change removes the `pub` keyword from `ShaderData`, hidding it as the implementation detail it is. Split from #5600
bors r+ |
# Objective Document `PipelineCache` and a few other related types. ## Solution Add documenting comments to `PipelineCache` and a few other related types in the same file.
Pull request successfully merged into main. Build succeeded: |
PipelineCache
and related typesPipelineCache
and related types
# Objective `ShaderData` is marked as public, but is an internal type only used by one other internal type, so it should be made private. ## Solution `ShaderData` is only used in `ShaderCache`, and the latter is private, so there is no need to make the former public. This change removes the `pub` keyword from `ShaderData`, hidding it as the implementation detail it is. Split from bevyengine#5600
# Objective `ShaderData` is marked as public, but is an internal type only used by one other internal type, so it should be made private. ## Solution `ShaderData` is only used in `ShaderCache`, and the latter is private, so there is no need to make the former public. This change removes the `pub` keyword from `ShaderData`, hidding it as the implementation detail it is. Split from bevyengine#5600
# Objective Document `PipelineCache` and a few other related types. ## Solution Add documenting comments to `PipelineCache` and a few other related types in the same file.
# Objective `ShaderData` is marked as public, but is an internal type only used by one other internal type, so it should be made private. ## Solution `ShaderData` is only used in `ShaderCache`, and the latter is private, so there is no need to make the former public. This change removes the `pub` keyword from `ShaderData`, hidding it as the implementation detail it is. Split from bevyengine#5600
# Objective Document `PipelineCache` and a few other related types. ## Solution Add documenting comments to `PipelineCache` and a few other related types in the same file.
Objective
Document
PipelineCache
and a few other related types.Solution
Add documenting comments to
PipelineCache
and a few other relatedtypes in the same file.