pub struct DxgiFormat(/* private fields */);Expand description
Resource data formats, including fully-typed and typeless formats. A list of modifiers at the bottom of the page more fully describes each format type.
https://learn.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format
Implementations§
Source§impl DxgiFormat
impl DxgiFormat
Source§impl DxgiFormat
impl DxgiFormat
pub const UNKNOWN: DxgiFormat
pub const R32G32B32A32_TYPELESS: DxgiFormat
pub const R32G32B32A32_FLOAT: DxgiFormat
pub const R32G32B32A32_UINT: DxgiFormat
pub const R32G32B32A32_SINT: DxgiFormat
pub const R32G32B32_TYPELESS: DxgiFormat
pub const R32G32B32_FLOAT: DxgiFormat
pub const R32G32B32_UINT: DxgiFormat
pub const R32G32B32_SINT: DxgiFormat
pub const R16G16B16A16_TYPELESS: DxgiFormat
pub const R16G16B16A16_FLOAT: DxgiFormat
pub const R16G16B16A16_UNORM: DxgiFormat
pub const R16G16B16A16_UINT: DxgiFormat
pub const R16G16B16A16_SNORM: DxgiFormat
pub const R16G16B16A16_SINT: DxgiFormat
pub const R32G32_TYPELESS: DxgiFormat
pub const R32G32_FLOAT: DxgiFormat
pub const R32G32_UINT: DxgiFormat
pub const R32G32_SINT: DxgiFormat
pub const R32G8X24_TYPELESS: DxgiFormat
pub const D32_FLOAT_S8X24_UINT: DxgiFormat
pub const R32_FLOAT_X8X24_TYPELESS: DxgiFormat
pub const X32_TYPELESS_G8X24_UINT: DxgiFormat
pub const R10G10B10A2_TYPELESS: DxgiFormat
pub const R10G10B10A2_UNORM: DxgiFormat
pub const R10G10B10A2_UINT: DxgiFormat
pub const R11G11B10_FLOAT: DxgiFormat
pub const R8G8B8A8_TYPELESS: DxgiFormat
pub const R8G8B8A8_UNORM: DxgiFormat
pub const R8G8B8A8_UNORM_SRGB: DxgiFormat
pub const R8G8B8A8_UINT: DxgiFormat
pub const R8G8B8A8_SNORM: DxgiFormat
pub const R8G8B8A8_SINT: DxgiFormat
pub const R16G16_TYPELESS: DxgiFormat
pub const R16G16_FLOAT: DxgiFormat
pub const R16G16_UNORM: DxgiFormat
pub const R16G16_UINT: DxgiFormat
pub const R16G16_SNORM: DxgiFormat
pub const R16G16_SINT: DxgiFormat
pub const R32_TYPELESS: DxgiFormat
pub const D32_FLOAT: DxgiFormat
pub const R32_FLOAT: DxgiFormat
pub const R32_UINT: DxgiFormat
pub const R32_SINT: DxgiFormat
pub const R24G8_TYPELESS: DxgiFormat
pub const D24_UNORM_S8_UINT: DxgiFormat
pub const R24_UNORM_X8_TYPELESS: DxgiFormat
pub const X24_TYPELESS_G8_UINT: DxgiFormat
pub const R8G8_TYPELESS: DxgiFormat
pub const R8G8_UNORM: DxgiFormat
pub const R8G8_UINT: DxgiFormat
pub const R8G8_SNORM: DxgiFormat
pub const R8G8_SINT: DxgiFormat
pub const R16_TYPELESS: DxgiFormat
pub const R16_FLOAT: DxgiFormat
pub const D16_UNORM: DxgiFormat
pub const R16_UNORM: DxgiFormat
pub const R16_UINT: DxgiFormat
pub const R16_SNORM: DxgiFormat
pub const R16_SINT: DxgiFormat
pub const R8_TYPELESS: DxgiFormat
pub const R8_UNORM: DxgiFormat
pub const R8_UINT: DxgiFormat
pub const R8_SNORM: DxgiFormat
pub const R8_SINT: DxgiFormat
pub const A8_UNORM: DxgiFormat
pub const R1_UNORM: DxgiFormat
pub const R9G9B9E5_SHAREDEXP: DxgiFormat
pub const R8G8_B8G8_UNORM: DxgiFormat
pub const G8R8_G8B8_UNORM: DxgiFormat
pub const BC1_TYPELESS: DxgiFormat
pub const BC1_UNORM: DxgiFormat
pub const BC1_UNORM_SRGB: DxgiFormat
pub const BC2_TYPELESS: DxgiFormat
pub const BC2_UNORM: DxgiFormat
pub const BC2_UNORM_SRGB: DxgiFormat
pub const BC3_TYPELESS: DxgiFormat
pub const BC3_UNORM: DxgiFormat
pub const BC3_UNORM_SRGB: DxgiFormat
pub const BC4_TYPELESS: DxgiFormat
pub const BC4_UNORM: DxgiFormat
pub const BC4_SNORM: DxgiFormat
pub const BC5_TYPELESS: DxgiFormat
pub const BC5_UNORM: DxgiFormat
pub const BC5_SNORM: DxgiFormat
pub const B5G6R5_UNORM: DxgiFormat
pub const B5G5R5A1_UNORM: DxgiFormat
pub const B8G8R8A8_UNORM: DxgiFormat
pub const B8G8R8X8_UNORM: DxgiFormat
pub const R10G10B10_XR_BIAS_A2_UNORM: DxgiFormat
pub const B8G8R8A8_TYPELESS: DxgiFormat
pub const B8G8R8A8_UNORM_SRGB: DxgiFormat
pub const B8G8R8X8_TYPELESS: DxgiFormat
pub const B8G8R8X8_UNORM_SRGB: DxgiFormat
pub const BC6H_TYPELESS: DxgiFormat
pub const BC6H_UF16: DxgiFormat
pub const BC6H_SF16: DxgiFormat
pub const BC7_TYPELESS: DxgiFormat
pub const BC7_UNORM: DxgiFormat
pub const BC7_UNORM_SRGB: DxgiFormat
pub const AYUV: DxgiFormat
pub const Y410: DxgiFormat
pub const Y416: DxgiFormat
pub const NV12: DxgiFormat
pub const P010: DxgiFormat
pub const P016: DxgiFormat
pub const OPAQUE_420: DxgiFormat
pub const YUY2: DxgiFormat
pub const Y210: DxgiFormat
pub const Y216: DxgiFormat
pub const NV11: DxgiFormat
pub const AI44: DxgiFormat
pub const IA44: DxgiFormat
pub const P8: DxgiFormat
pub const A8P8: DxgiFormat
pub const B4G4R4A4_UNORM: DxgiFormat
pub const P208: DxgiFormat
pub const V208: DxgiFormat
pub const V408: DxgiFormat
pub const ASTC_4X4_TYPELESS: DxgiFormat
pub const ASTC_4X4_UNORM: DxgiFormat
pub const ASTC_4X4_UNORM_SRGB: DxgiFormat
pub const ASTC_5X4_TYPELESS: DxgiFormat
pub const ASTC_5X4_UNORM: DxgiFormat
pub const ASTC_5X4_UNORM_SRGB: DxgiFormat
pub const ASTC_5X5_TYPELESS: DxgiFormat
pub const ASTC_5X5_UNORM: DxgiFormat
pub const ASTC_5X5_UNORM_SRGB: DxgiFormat
pub const ASTC_6X5_TYPELESS: DxgiFormat
pub const ASTC_6X5_UNORM: DxgiFormat
pub const ASTC_6X5_UNORM_SRGB: DxgiFormat
pub const ASTC_6X6_TYPELESS: DxgiFormat
pub const ASTC_6X6_UNORM: DxgiFormat
pub const ASTC_6X6_UNORM_SRGB: DxgiFormat
pub const ASTC_8X5_TYPELESS: DxgiFormat
pub const ASTC_8X5_UNORM: DxgiFormat
pub const ASTC_8X5_UNORM_SRGB: DxgiFormat
pub const ASTC_8X6_TYPELESS: DxgiFormat
pub const ASTC_8X6_UNORM: DxgiFormat
pub const ASTC_8X6_UNORM_SRGB: DxgiFormat
pub const ASTC_8X8_TYPELESS: DxgiFormat
pub const ASTC_8X8_UNORM: DxgiFormat
pub const ASTC_8X8_UNORM_SRGB: DxgiFormat
pub const ASTC_10X5_TYPELESS: DxgiFormat
pub const ASTC_10X5_UNORM: DxgiFormat
pub const ASTC_10X5_UNORM_SRGB: DxgiFormat
pub const ASTC_10X6_TYPELESS: DxgiFormat
pub const ASTC_10X6_UNORM: DxgiFormat
pub const ASTC_10X6_UNORM_SRGB: DxgiFormat
pub const ASTC_10X8_TYPELESS: DxgiFormat
pub const ASTC_10X8_UNORM: DxgiFormat
pub const ASTC_10X8_UNORM_SRGB: DxgiFormat
pub const ASTC_10X10_TYPELESS: DxgiFormat
pub const ASTC_10X10_UNORM: DxgiFormat
pub const ASTC_10X10_UNORM_SRGB: DxgiFormat
pub const ASTC_12X10_TYPELESS: DxgiFormat
pub const ASTC_12X10_UNORM: DxgiFormat
pub const ASTC_12X10_UNORM_SRGB: DxgiFormat
pub const ASTC_12X12_TYPELESS: DxgiFormat
pub const ASTC_12X12_UNORM: DxgiFormat
pub const ASTC_12X12_UNORM_SRGB: DxgiFormat
pub const A4B4G4R4_UNORM: DxgiFormat
Trait Implementations§
Source§impl Clone for DxgiFormat
impl Clone for DxgiFormat
Source§fn clone(&self) -> DxgiFormat
fn clone(&self) -> DxgiFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DxgiFormat
impl Debug for DxgiFormat
Source§impl From<DxgiFormat> for u32
impl From<DxgiFormat> for u32
Source§fn from(value: DxgiFormat) -> Self
fn from(value: DxgiFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for DxgiFormat
impl Hash for DxgiFormat
Source§impl PartialEq for DxgiFormat
impl PartialEq for DxgiFormat
Source§impl TryFrom<DxgiFormat> for PixelInfo
impl TryFrom<DxgiFormat> for PixelInfo
Source§impl TryFrom<Format> for DxgiFormat
impl TryFrom<Format> for DxgiFormat
Source§impl TryFrom<u32> for DxgiFormat
impl TryFrom<u32> for DxgiFormat
impl Copy for DxgiFormat
impl Eq for DxgiFormat
impl StructuralPartialEq for DxgiFormat
Auto Trait Implementations§
impl Freeze for DxgiFormat
impl RefUnwindSafe for DxgiFormat
impl Send for DxgiFormat
impl Sync for DxgiFormat
impl Unpin for DxgiFormat
impl UnwindSafe for DxgiFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more