bevy/crates/bevy_sprite/src/mesh2d
Carter Anderson 134750d18e
Image Sampler Improvements (#10254)
# Objective

- Build on the changes in https://github.com/bevyengine/bevy/pull/9982
- Use `ImageSamplerDescriptor` as the "public image sampler descriptor"
interface in all places (for consistency)
- Make it possible to configure textures to use the "default" sampler
(as configured in the `DefaultImageSampler` resource)
- Fix a bug introduced in #9982 that prevents configured samplers from
being used in Basis, KTX2, and DDS textures

---

## Migration Guide

- When using the `Image` API, use `ImageSamplerDescriptor` instead of
`wgpu::SamplerDescriptor`
- If writing custom wgpu renderer features that work with `Image`, call
`&image_sampler.as_wgpu()` to convert to a wgpu descriptor.
2023-10-26 23:30:09 +00:00
..
color_material.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
color_material.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
material.rs allow extensions to StandardMaterial (#7820) 2023-10-17 21:28:08 +00:00
mesh2d_bindings.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
mesh2d_functions.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
mesh2d_types.wgsl Automatic batching/instancing of draw commands (#9685) 2023-09-21 22:12:34 +00:00
mesh2d_vertex_output.wgsl pbr shader cleanup (#10105) 2023-10-13 19:12:40 +00:00
mesh2d_view_bindings.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
mesh2d_view_types.wgsl Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
mesh2d.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
mesh.rs Image Sampler Improvements (#10254) 2023-10-26 23:30:09 +00:00
mod.rs Add 2d meshes and materials (#3460) 2022-01-08 01:29:08 +00:00