#if SOURCE_GENERATOR using static Windows.Win32.Graphics.Direct2D.D2D1_BUFFER_PRECISION; #else using static TerraFX.Interop.DirectX.D2D1_BUFFER_PRECISION; #endif namespace ComputeSharp.D2D1; /// /// Indicates the bit depth to use in the imaging pipeline in Direct2D to produce the result of a D2D1 shader. /// /// /// This type exposes the available values in . /// For more info, see . /// public enum D2D1BufferPrecision { /// /// The buffer precision is not specified. /// Unknown = (int)D2D1_BUFFER_PRECISION_UNKNOWN, /// /// The buffer precision uses 8-bit normalized integer values per channel. /// UInt8Normalized = (int)D2D1_BUFFER_PRECISION_8BPC_UNORM, /// /// The buffer precision uses 8-bit normalized integer values per channel with standard RGB data. /// UInt8NormalizedSrgb = (int)D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB, /// /// The buffer precision uses 16-bit normalized integer values per channel. /// UInt16Normalized = (int)D2D1_BUFFER_PRECISION_16BPC_UNORM, /// /// The buffer precision uses 16-bit float values per channel. /// Float16 = (int)D2D1_BUFFER_PRECISION_16BPC_FLOAT, /// /// The buffer precision uses 32-bit float values per channel. /// Float32 = (int)D2D1_BUFFER_PRECISION_32BPC_FLOAT }