Enum DdsLegacyFlags
Flags used to decode an existing DDS image encoded with a legacy version of the format specification.
Namespace: Gorgon.Graphics.Imaging.Codecs
Assembly: Gorgon.Graphics.Imaging.dll
Syntax
[Flags]
public enum DdsLegacyFlags : uint
Fields
Name | Description |
---|---|
ForceDX10 | Always use the 'DX10' header extension for DDS writer (i.e. don't try to write DX9 compatible DDS files) |
ForceRGB | Convert DXGI 1.1 BGR formats to BufferFormat.R8G8B8A8_UNorm to avoid use of optional WDDM 1.1 formats |
LegacyDWORD | Assume pitch is DWORD aligned instead of BYTE aligned (used by some legacy DDS files) |
No16BPP | Conversions avoid use of 565, 5551, and 4444 formats and instead expand to 8888 to avoid use of optional WDDM 1.2 formats |
NoLegacyExpansion | Do not implicitly convert legacy formats that result in larger pixel sizes (24 bpp, 3:3:2, A8L8, A4L4, P8, A8P8) |
NoR10B10G10A2Fix | Do not use work-around for long-standing D3DX DDS file format issue which reversed the 10:10:10:2 color order masks |
None | No flags. |