Table of Contents

Enum BufferPrecision

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents the bit depth of the imaging pipeline in Direct2D.
D2D1_BUFFER_PRECISION

public enum BufferPrecision
Extension Methods

Fields

Unknown = 0

The buffer precision is not specified.

UInt8Normalized = 1

Use normalized 8-bit integers per channel. The integer's range of [0, 255] is mapped to [0.0, 1.0]. Values calculated outside of that range are clamped.

UInt8NormalizedSrgb = 2

Use normalized 8-bit integers per channel in standard RGB format. The integer's range of [0, 255] is mapped to [0.0, 1.0]. Values calculated outside of that range are clamped.

UInt16Normalized = 3

Use normalized 16-bit integers per channel. The integer's range of [0, 65535] is mapped to [0.0, 1.0]. Values calculated outside of that range are clamped.

Float16 = 4

Use 16-bit floats per channel.

Float32 = 5

Use 32-bit floats per channel.