-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Add image sampler configuration in GLTF loader #17875
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
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
2dc9122
Add image sampler configuration in GLTF loader
axlitEels 49ba75c
Enforce anisotropy requirements
axlitEels 7849035
cargo fmt
axlitEels c08e14b
Docs backticks :<
axlitEels 3400dd1
Ticks again :<
axlitEels cefffe9
Fix typo in commentary
axlitEels 8c9da48
Merge branch 'gltf-anisotropy' of https://github.com/axlitEels/bevy i…
axlitEels bc4efb1
Mutable default image sampler for GltfLoader
axlitEels 22af97c
Merge branch 'bevyengine:main' into gltf-anisotropy
axlitEels 239fa89
Move default descriptor resource to bevy_gltf
axlitEels 7766896
Merge branch 'bevyengine:main' into gltf-anisotropy
axlitEels adac31e
cargo fmt
axlitEels 06852c3
GltfPlugin struct consistency.
axlitEels f0eac14
cargo fmt
axlitEels 2fdfb2d
Clippy
axlitEels 2b4cbc9
Fix incorrect clippy fix
axlitEels 8d98eb8
Fair suggestions by @thepackett
axlitEels c488723
Use alloc instead of std
axlitEels d0e73e7
Merge branch 'main' into gltf-anisotropy
axlitEels File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
How about making this constructor
pub(crate)
? This is supposed to be a resource onlyGltfPlugin
would need to insert. Any attempt of inserting one's ownDefaultGltfImageSampler
would be a conflict withGltfPlugin
.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.
I think I have to @alice-i-cecile
Because otherwise it's ready for merge
Uh oh!
There was an error while loading. Please reload this page.
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.
I prefer the simpler and more flexible fully public design here.