Enum ColorSpace
Represents a color space
public enum ColorSpace : uint
Fields
Bt2020Full = 571483657This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Bt2020Limited = 554706441This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Bt601Full = 571480262This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Bt601Limited = 554703046This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Bt709Full = 571474977This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Bt709Limited = 554697761This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Hdr10 = 301999616HDR10 is a non-linear HDR colorspace and the default colorspace for 10-bit surfaces
This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Jpeg = 570426566This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).RgbDefault = 301991328The default color space for RGB surfaces if no color space is specified
This is equivalent to Srgb.
Srgb = 301991328sRGB is a gamma corrected color space, and the default color space for SDL rendering and 8-bit RGB surface
This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).SrgbLinear = 301991168sRGB linear is a linear colorspace and the default color space for floating point surfaces. On Windows this is the scRGB color space, and on Apple platforms this is kCGColorSpaceExtendedLinearSRGB for EDR content.
This is equivalent to the DirectX color space
DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709(see https://learn.microsoft.com/en-us/windows/win32/api/dxgicommon/ne-dxgicommon-dxgi_color_space_type).Unknown = 0The unknown ColorSpace
YuvDefault = 554703046The default colorspace for YUV surfaces if no colorspace is specified
This is equivalent Bt601Limited.