![]() # Objective This PR exposes the wgpu types necessary to use the result of `RenderAdapter::get_texture_format_features`: ```rust use bevy::render::render_resource::TextureFormatFeatureFlags; // ^ now available let adapter = world.resource::<RenderAdapter>(); let flags = adapter.get_texture_format_features(TextureFormat::R32Float).flags; let filtering = flags.contains(TextureFormatFeatureFlags::FILTERABLE); ``` ## Solution - Expose `TextureFormatFeatureFlags`, `TextureFormatFeatures` like other wgpu types in bevy_render |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |