pub fn map_dxgi_format(format: DxgiFormat, srgb: bool) -> Option<TextureFormat>