Skip to content

RenderPixelFormat enumeration

Pixel layout of a surface or external raster.

public enum RenderPixelFormat
name value description
Unknown 0 Not specified.
Bgra8888 1 8 bits per channel in B, G, R, A order with straight alpha.
Bgra8888Premultiplied 2 8 bits per channel in B, G, R, A order with premultiplied alpha.
Rgba8888 3 8 bits per channel in R, G, B, A order with straight alpha.
Rgba8888Premultiplied 4 8 bits per channel in R, G, B, A order with premultiplied alpha.
Alpha8 5 A single 8-bit alpha channel.