mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 08:13:27 +00:00
style: align doc. commentary in TextureFormatFeatureFlags
(#5809)
This commit is contained in:
parent
39534ff342
commit
c4a8f038ee
@ -2268,11 +2268,11 @@ bitflags::bitflags! {
|
|||||||
const FILTERABLE = 1 << 0;
|
const FILTERABLE = 1 << 0;
|
||||||
/// Allows [`TextureDescriptor::sample_count`] to be `2`.
|
/// Allows [`TextureDescriptor::sample_count`] to be `2`.
|
||||||
const MULTISAMPLE_X2 = 1 << 1;
|
const MULTISAMPLE_X2 = 1 << 1;
|
||||||
/// Allows [`TextureDescriptor::sample_count`] to be `4`.
|
/// Allows [`TextureDescriptor::sample_count`] to be `4`.
|
||||||
const MULTISAMPLE_X4 = 1 << 2 ;
|
const MULTISAMPLE_X4 = 1 << 2 ;
|
||||||
/// Allows [`TextureDescriptor::sample_count`] to be `8`.
|
/// Allows [`TextureDescriptor::sample_count`] to be `8`.
|
||||||
const MULTISAMPLE_X8 = 1 << 3 ;
|
const MULTISAMPLE_X8 = 1 << 3 ;
|
||||||
/// Allows [`TextureDescriptor::sample_count`] to be `16`.
|
/// Allows [`TextureDescriptor::sample_count`] to be `16`.
|
||||||
const MULTISAMPLE_X16 = 1 << 4;
|
const MULTISAMPLE_X16 = 1 << 4;
|
||||||
/// Allows a texture of this format to back a view passed as `resolve_target`
|
/// Allows a texture of this format to back a view passed as `resolve_target`
|
||||||
/// to a render pass for an automatic driver-implemented resolve.
|
/// to a render pass for an automatic driver-implemented resolve.
|
||||||
|
Loading…
Reference in New Issue
Block a user