mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 12:00:06 +00:00
Add BGR alias
This commit is contained in:
parent
3c9e187d96
commit
42ce4fe69d
@ -245,6 +245,7 @@ namespace
|
||||
{
|
||||
{ L"RGBA", DXGI_FORMAT_R8G8B8A8_UNORM },
|
||||
{ L"BGRA", DXGI_FORMAT_B8G8R8A8_UNORM },
|
||||
{ L"BGR", DXGI_FORMAT_B8G8R8X8_UNORM },
|
||||
|
||||
{ L"FP16", DXGI_FORMAT_R16G16B16A16_FLOAT },
|
||||
{ L"FP32", DXGI_FORMAT_R32G32B32A32_FLOAT },
|
||||
|
@ -313,6 +313,7 @@ namespace
|
||||
|
||||
{ L"RGBA", DXGI_FORMAT_R8G8B8A8_UNORM },
|
||||
{ L"BGRA", DXGI_FORMAT_B8G8R8A8_UNORM },
|
||||
{ L"BGR", DXGI_FORMAT_B8G8R8X8_UNORM },
|
||||
|
||||
{ L"FP16", DXGI_FORMAT_R16G16B16A16_FLOAT },
|
||||
{ L"FP32", DXGI_FORMAT_R32G32B32A32_FLOAT },
|
||||
|
@ -209,6 +209,7 @@ const SValue g_pFormatAliases[] =
|
||||
{
|
||||
{ L"RGBA", DXGI_FORMAT_R8G8B8A8_UNORM },
|
||||
{ L"BGRA", DXGI_FORMAT_B8G8R8A8_UNORM },
|
||||
{ L"BGR", DXGI_FORMAT_B8G8R8X8_UNORM },
|
||||
|
||||
{ L"FP16", DXGI_FORMAT_R16G16B16A16_FLOAT },
|
||||
{ L"FP32", DXGI_FORMAT_R32G32B32A32_FLOAT },
|
||||
|
Loading…
Reference in New Issue
Block a user