mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
c6a41cdd10
# Objective I found this small ux hiccup when writing the 0.8 blog post: ```rust image.sampler = ImageSampler::Descriptor(ImageSampler::nearest_descriptor()); ``` Not good! ## Solution ```rust image.sampler = ImageSampler::nearest(); ``` (there are Good Reasons to keep around the nearest_descriptor() constructor and I think it belongs on this type) |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |