[]
D2D1_PIXEL_FORMAT
public struct PixelFormat
Initializes a new instance of the PixelFormat struct.
public PixelFormat(Format format, AlphaMode alphaMode)
format
FormatA value that specifies the size and arrangement of channels in each pixel.
alphaMode
AlphaModeA value that specifies whether the alpha channel is using pre-multiplied alpha, straight alpha, whether it should be ignored and considered opaque, or whether it is unknown.
D2D1_ALPHA_MODE alphaMode
public AlphaMode AlphaMode
DXGI_FORMAT format
public Format Format