#pragma warning disable 1591 using System.Runtime.InteropServices; namespace Brutal.KtxApi { public enum KhrDfModel : int { /// No interpretation of color channels defined Unspecified = 0, /// Color primaries (red, green, blue) + alpha, depth and stencil Rgbsda = 1, /// Color differences (Y', Cb, Cr) + alpha, depth and stencil Yuvsda = 2, /// Color differences (Y', I, Q) + alpha, depth and stencil Yiqsda = 3, /// Perceptual color (CIE L*a*b*) + alpha, depth and stencil Labsda = 4, /// Subtractive colors (cyan, magenta, yellow, black) + alpha Cmyka = 5, /// Non-color coordinate data (X, Y, Z, W) Xyzw = 6, /// Hue, saturation, value, hue angle on color circle, plus alpha HsvaAng = 7, /// Hue, saturation, lightness, hue angle on color circle, plus alpha HslaAng = 8, /// Hue, saturation, value, hue on color hexagon, plus alpha HsvaHex = 9, /// Hue, saturation, lightness, hue on color hexagon, plus alpha HslaHex = 10, /// Lightweight approximate color difference (luma, orange, green) Ycgcoa = 11, /// ITU BT.2020 constant luminance YcCbcCrc Yccbccrc = 12, /// ITU BT.2100 constant intensity ICtCp Ictcp = 13, /// CIE 1931 XYZ color coordinates (X, Y, Z) Ciexyz = 14, /// CIE 1931 xyY color coordinates (X, Y, Y) Ciexyy = 15, /// Compressed formats start at 128. /// These compressed formats should generally have a single sample,sited at the 0,0 position of the texel block. Where multiplechannels are used to distinguish formats, these should be cosited. /// Direct3D (and S3) compressed formats /// Note that premultiplied status is recorded separately /// DXT1 "channels" are RGB (0), Alpha (1) /// DXT1/BC1 with one channel is opaque /// DXT1/BC1 with a cosited alpha sample is transparent Dxt1A = 128, /// Compressed formats start at 128. /// These compressed formats should generally have a single sample,sited at the 0,0 position of the texel block. Where multiplechannels are used to distinguish formats, these should be cosited. /// Direct3D (and S3) compressed formats /// Note that premultiplied status is recorded separately /// DXT1 "channels" are RGB (0), Alpha (1) /// DXT1/BC1 with one channel is opaque /// DXT1/BC1 with a cosited alpha sample is transparent Bc1A = 128, /// DXT2/DXT3/BC2, with explicit 4-bit alpha Dxt2 = 129, /// DXT2/DXT3/BC2, with explicit 4-bit alpha Dxt3 = 129, /// DXT2/DXT3/BC2, with explicit 4-bit alpha Bc2 = 129, /// DXT4/DXT5/BC3, with interpolated alpha Dxt4 = 130, /// DXT4/DXT5/BC3, with interpolated alpha Dxt5 = 130, /// DXT4/DXT5/BC3, with interpolated alpha Bc3 = 130, /// ATI1n/DXT5A/BC4 - single channel interpolated 8-bit data /// (The UNORM/SNORM variation is recorded in the channel data) Ati1N = 131, /// ATI1n/DXT5A/BC4 - single channel interpolated 8-bit data /// (The UNORM/SNORM variation is recorded in the channel data) Dxt5A = 131, /// ATI1n/DXT5A/BC4 - single channel interpolated 8-bit data /// (The UNORM/SNORM variation is recorded in the channel data) Bc4 = 131, /// ATI2n_XY/DXN/BC5 - two channel interpolated 8-bit data /// (The UNORM/SNORM variation is recorded in the channel data) Ati2NXy = 132, /// ATI2n_XY/DXN/BC5 - two channel interpolated 8-bit data /// (The UNORM/SNORM variation is recorded in the channel data) Dxn = 132, /// ATI2n_XY/DXN/BC5 - two channel interpolated 8-bit data /// (The UNORM/SNORM variation is recorded in the channel data) Bc5 = 132, /// BC6H - DX11 format for 16-bit float channels Bc6H = 133, /// BC7 - DX11 format Bc7 = 134, /// Mobile compressed formats follow /// A format of ETC1 indicates that the format shall be decodableby an ETC1-compliant decoder and not rely on ETC2 features Etc1 = 160, /// A format of ETC2 is permitted to use ETC2 encodings on top ofthe baseline ETC1 specification /// The ETC2 format has channels "red", "green", "RGB" and "alpha",which should be cosited samples /// Punch-through alpha can be distinguished from full alpha bythe plane size in bytes required for the texel block Etc2 = 161, /// Adaptive Scalable Texture Compression /// ASTC HDR vs LDR is determined by the float flag in the channel /// ASTC block size can be distinguished by texel block size Astc = 162, /// ETC1S is a simplified subset of ETC1 Etc1S = 163, /// PowerVR Texture Compression Pvrtc = 164, /// PowerVR Texture Compression Pvrtc2 = 165, /// PowerVR Texture Compression Uastc = 166, /// Proprietary formats (ATITC, etc.) should follow Max = 255, } } #pragma warning restore 1591