Enum ddsfile::DxgiFormat []

pub enum DxgiFormat {
    Unknown,
    R32G32B32A32_Typeless,
    R32G32B32A32_Float,
    R32G32B32A32_UInt,
    R32G32B32A32_SInt,
    R32G32B32_Typeless,
    R32G32B32_Float,
    R32G32B32_UInt,
    R32G32B32_SInt,
    R16G16B16A16_Typeless,
    R16G16B16A16_Float,
    R16G16B16A16_UNorm,
    R16G16B16A16_UInt,
    R16G16B16A16_SNorm,
    R16G16B16A16_SInt,
    R32G32_Typeless,
    R32G32_Float,
    R32G32_UInt,
    R32G32_SInt,
    R32G8X24_Typeless,
    D32_Float_S8X24_UInt,
    R32_Float_X8X24_Typeless,
    X32_Typeless_G8X24_UInt,
    R10G10B10A2_Typeless,
    R10G10B10A2_UNorm,
    R10G10B10A2_UInt,
    R11G11B10_Float,
    R8G8B8A8_Typeless,
    R8G8B8A8_UNorm,
    R8G8B8A8_UNorm_sRGB,
    R8G8B8A8_UInt,
    R8G8B8A8_SNorm,
    R8G8B8A8_SInt,
    R16G16_Typeless,
    R16G16_Float,
    R16G16_UNorm,
    R16G16_UInt,
    R16G16_SNorm,
    R16G16_SInt,
    R32_Typeless,
    D32_Float,
    R32_Float,
    R32_UInt,
    R32_SInt,
    R24G8_Typeless,
    D24_UNorm_S8_UInt,
    R24_UNorm_X8_Typeless,
    X24_Typeless_G8_UInt,
    R8G8_Typeless,
    R8G8_UNorm,
    R8G8_UInt,
    R8G8_SNorm,
    R8G8_SInt,
    R16_Typeless,
    R16_Float,
    D16_UNorm,
    R16_UNorm,
    R16_UInt,
    R16_SNorm,
    R16_SInt,
    R8_Typeless,
    R8_UNorm,
    R8_UInt,
    R8_SNorm,
    R8_SInt,
    A8_UNorm,
    R1_UNorm,
    R9G9B9E5_SharedExp,
    R8G8_B8G8_UNorm,
    G8R8_G8B8_UNorm,
    BC1_Typeless,
    BC1_UNorm,
    BC1_UNorm_sRGB,
    BC2_Typeless,
    BC2_UNorm,
    BC2_UNorm_sRGB,
    BC3_Typeless,
    BC3_UNorm,
    BC3_UNorm_sRGB,
    BC4_Typeless,
    BC4_UNorm,
    BC4_SNorm,
    BC5_Typeless,
    BC5_UNorm,
    BC5_SNorm,
    B5G6R5_UNorm,
    B5G5R5A1_UNorm,
    B8G8R8A8_UNorm,
    B8G8R8X8_UNorm,
    R10G10B10_XR_Bias_A2_UNorm,
    B8G8R8A8_Typeless,
    B8G8R8A8_UNorm_sRGB,
    B8G8R8X8_Typeless,
    B8G8R8X8_UNorm_sRGB,
    BC6H_Typeless,
    BC6H_UF16,
    BC6H_SF16,
    BC7_Typeless,
    BC7_UNorm,
    BC7_UNorm_sRGB,
    AYUV,
    Y410,
    Y416,
    NV12,
    P010,
    P016,
    Format_420_Opaque,
    YUY2,
    Y210,
    Y216,
    NV11,
    AI44,
    IA44,
    P8,
    A8P8,
    B4G4R4A4_UNorm,
    P208,
    V208,
    V408,
    Force_UInt,
}

Variants

Methods

impl DxgiFormat
[src]

Trait Implementations

impl From<DxgiFormat> for PixelFormat
[src]

[src]

Performs the conversion.

impl Debug for DxgiFormat
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DxgiFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DxgiFormat
[src]

impl PartialEq for DxgiFormat
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for DxgiFormat
[src]

impl Hash for DxgiFormat
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl FromPrimitive for DxgiFormat

Convert an i64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an isize to return an optional value of this type. If the value cannot be represented by this value, the None is returned. Read more

[src]

Convert an i8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an i16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an i32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert a usize to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an u8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an u16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an u32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert a f32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert a f64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

impl DataFormat for DxgiFormat
[src]

[src]

This gets the number of bytes required to store one row of data

[src]

This gets the number of bits required to store a single pixel. It is only defined for uncompressed formats Read more

[src]

This gets a block compression format's block size, and is only defined for compressed formats Read more

[src]

Get the fourcc code for this format, if known

[src]

Returns true if the DX10 extention is required to use this format.

[src]

This gets the height of each row of data. Normally it is 1, but for block compressed textures, each row is 4 pixels high. Read more

[src]

This gets the minimum mipmap size in bytes. Even if they go all the way down to 1x1, there is a minimum number of bytes based on bits per pixel or blocksize. Read more

Auto Trait Implementations

impl Send for DxgiFormat

impl Sync for DxgiFormat