From 5fbc3c0e0cf38ef1ff23067031bcf9dee8197f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 22 Sep 2019 19:01:30 +0200 Subject: [PATCH] Link to D3D and Metal pixel format equivalents as well. --- src/Magnum/PixelFormat.h | 796 ++++++++++++++++++++++++++++----------- 1 file changed, 568 insertions(+), 228 deletions(-) diff --git a/src/Magnum/PixelFormat.h b/src/Magnum/PixelFormat.h index 591000a57..97c2bfdcb 100644 --- a/src/Magnum/PixelFormat.h +++ b/src/Magnum/PixelFormat.h @@ -55,6 +55,11 @@ to it using @ref Vk::vkFormat(Magnum::PixelFormat). See documentation of each value for more information about the mapping. Note that not every format may be available, use @ref Vk::hasVkFormat(Magnum::PixelFormat) to check for its presence. + +For D3D, corresponds to @m_class{m-doc-external} [DXGI_FORMAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) +and import is provided by the @ref Trade::DdsImporter "DdsImporter" plugin; for +Metal, corresponds to @m_class{m-doc-external} [MTLPixelFormat](https://developer.apple.com/documentation/metal/mtlpixelformat?language=objc). +See documentation of each value for more information about the mapping. @see @ref pixelSize(), @ref CompressedPixelFormat, @ref Image, @ref ImageView */ enum class PixelFormat: UnsignedInt { @@ -64,8 +69,11 @@ enum class PixelFormat: UnsignedInt { * Red component, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::R8 / - * @def_vk_keyword{FORMAT_R8_UNORM,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::R8; + * @def_vk_keyword{FORMAT_R8_UNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR8Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr8unorm?language=objc). + * @m_keywords{DXGI_FORMAT_R8_UNORM MTLPixelFormatR8Unorm} */ R8Unorm = 1, @@ -73,8 +81,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RG8 / - * @def_vk_keyword{FORMAT_R8G8_UNORM,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RG8; + * @def_vk_keyword{FORMAT_R8G8_UNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG8Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg8unorm?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8_UNORM MTLPixelFormatRG8Unorm} */ RG8Unorm, @@ -82,8 +93,9 @@ enum class PixelFormat: UnsignedInt { * RGB, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGB8 / - * @def_vk_keyword{FORMAT_R8G8B8_UNORM,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGB8 or + * @def_vk_keyword{FORMAT_R8G8B8_UNORM,Format}. No 24-bit D3D or Metal + * equivalent. */ RGB8Unorm, @@ -91,8 +103,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGBA8 / - * @def_vk_keyword{FORMAT_R8G8B8A8_UNORM,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGBA8; + * @def_vk_keyword{FORMAT_R8G8B8A8_UNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8A8_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA8Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba8unorm?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8B8A8_UNORM MTLPixelFormatRGBA8Unorm} */ RGBA8Unorm, @@ -100,8 +115,11 @@ enum class PixelFormat: UnsignedInt { * Red component, normalized signed byte. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::R8Snorm / - * @def_vk_keyword{FORMAT_R8_SNORM,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::R8Snorm; + * @def_vk_keyword{FORMAT_R8_SNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR8Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr8Snorm?language=objc). + * @m_keywords{DXGI_FORMAT_R8_SNORM MTLPixelFormatR8Snorm} */ R8Snorm, @@ -109,8 +127,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, normalized signed byte. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RG8Snorm / - * @def_vk_keyword{FORMAT_R8G8_SNORM,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RG8Snorm; + * @def_vk_keyword{FORMAT_R8G8_SNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG8Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg8snorm?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8_SNORM MTLPixelFormatRG8Snorm} */ RG8Snorm, @@ -118,8 +139,9 @@ enum class PixelFormat: UnsignedInt { * RGB, normalized signed byte. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGB8Snorm / - * @def_vk_keyword{FORMAT_R8G8B8_SNORM,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGB8Snorm; + * @def_vk_keyword{FORMAT_R8G8B8_SNORM,Format}. No 24-bit D3D or Metal + * equivalent. */ RGB8Snorm, @@ -127,8 +149,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, normalized signed byte. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGBA8Snorm / - * @def_vk_keyword{FORMAT_R8G8B8A8_SNORM,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGBA8Snorm; + * @def_vk_keyword{FORMAT_R8G8B8A8_SNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8A8_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA8Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba8snorm?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8B8A8_SNORM MTLPixelFormatRGBA8Snorm} */ RGBA8Snorm, @@ -136,8 +161,10 @@ enum class PixelFormat: UnsignedInt { * sRGB-encoded red component, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SR8 / - * @def_vk_keyword{FORMAT_R8_SRGB,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SR8; + * @def_vk_keyword{FORMAT_R8_SRGB,Format} or + * @m_class{m-doc-external} [MTLPixelFormatR8Unorm_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr8unorm_srgb?language=objc). No D3D equivalent. + * @m_keywords{MTLPixelFormatR8Unorm_sRGB} */ R8Srgb, @@ -145,8 +172,10 @@ enum class PixelFormat: UnsignedInt { * sRGB-encoded red and green component, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SRG8 / - * @def_vk_keyword{FORMAT_R8G8_SRGB,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SRG8; + * @def_vk_keyword{FORMAT_R8G8_SRGB,Format} or + * @m_class{m-doc-external} [MTLPixelFormatRG8Unorm_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg8unorm_srgb?language=objc). No D3D equivalent. + * @m_keywords{MTLPixelFormatRG8Unorm_sRGB} */ RG8Srgb, @@ -154,8 +183,9 @@ enum class PixelFormat: UnsignedInt { * sRGB, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SRGB8 / - * @def_vk_keyword{FORMAT_R8G8B8_SRGB,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SRGB8 or + * @def_vk_keyword{FORMAT_R8G8B8_SRGB,Format}. No 24-bit D3D or Metal + * equivalent. */ RGB8Srgb, @@ -163,8 +193,11 @@ enum class PixelFormat: UnsignedInt { * sRGB + linear alpha, normalized unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SRGB8Alpha8 / - * @def_vk_keyword{FORMAT_R8G8B8A8_SRGB,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::SRGB8Alpha8; + * @def_vk_keyword{FORMAT_R8G8B8A8_SRGB,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8A8_UNORM_SRGB](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA8Unorm_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba8unorm_srgb?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8B8A8_UNORM_SRGB MTLPixelFormatRGBA8Unorm_sRGB} */ RGBA8Srgb, @@ -172,8 +205,11 @@ enum class PixelFormat: UnsignedInt { * Red component, integral unsigned byte. * * Corresponds to @ref GL::PixelFormat::RedInteger and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::R8UI / - * @def_vk_keyword{FORMAT_R8_UINT,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::R8UI; + * @def_vk_keyword{FORMAT_R8_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR8Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr8uint?language=objc). + * @m_keywords{DXGI_FORMAT_R8_UINT MTLPixelFormatR8Uint} */ R8UI, @@ -181,8 +217,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, integral unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGInteger and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RG8UI / - * @def_vk_keyword{FORMAT_R8G8_UINT,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RG8UI; + * @def_vk_keyword{FORMAT_R8G8_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG8Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg8uint?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8_UINT MTLPixelFormatRG8Uint} */ RG8UI, @@ -190,8 +229,9 @@ enum class PixelFormat: UnsignedInt { * RGB, integral unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGBInteger and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGB8UI / - * @def_vk_keyword{FORMAT_R8G8B8_UINT,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGB8UI or + * @def_vk_keyword{FORMAT_R8G8B8_UINT,Format}. No 24-bit D3D or Metal + * equivalent. */ RGB8UI, @@ -199,8 +239,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, integral unsigned byte. * * Corresponds to @ref GL::PixelFormat::RGBAInteger and - * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGBA8UI / - * @def_vk_keyword{FORMAT_R8G8B8A8_UINT,Format}. + * @ref GL::PixelType::UnsignedByte, @ref GL::TextureFormat::RGBA8UI; + * @def_vk_keyword{FORMAT_R8G8B8A8_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8A8_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA8Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba8uint?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8B8A8_UINT MTLPixelFormatRGBA8Uint} */ RGBA8UI, @@ -208,8 +251,11 @@ enum class PixelFormat: UnsignedInt { * Red component, integral signed byte. * * Corresponds to @ref GL::PixelFormat::RedInteger and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::R8I / - * @def_vk_keyword{FORMAT_R8_SINT,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::R8I; + * @def_vk_keyword{FORMAT_R8_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR8Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr8sint?language=objc). + * @m_keywords{DXGI_FORMAT_R8_SINT MTLPixelFormatR8Sint} */ R8I, @@ -217,8 +263,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, integral signed byte. * * Corresponds to @ref GL::PixelFormat::RGInteger and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RG8I / - * @def_vk_keyword{FORMAT_R8G8_SINT,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RG8I; + * @def_vk_keyword{FORMAT_R8G8_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG8Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg8sint?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8_SINT MTLPixelFormatRG8Sint} */ RG8I, @@ -226,8 +275,9 @@ enum class PixelFormat: UnsignedInt { * RGB, integral signed byte. * * Corresponds to @ref GL::PixelFormat::RGBInteger and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGB8I / - * @def_vk_keyword{FORMAT_R8G8B8_SINT,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGB8I; + * @def_vk_keyword{FORMAT_R8G8B8_SINT,Format}. No 24-bit D3D or Metal + * equivalent. */ RGB8I, @@ -235,8 +285,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, integral signed byte. * * Corresponds to @ref GL::PixelFormat::RGBAInteger and - * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGBA8I / - * @def_vk_keyword{FORMAT_R8G8B8A8_SINT,Format}. + * @ref GL::PixelType::Byte, @ref GL::TextureFormat::RGBA8I; + * @def_vk_keyword{FORMAT_R8G8B8A8_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8A8_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA8Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba8sint?language=objc). + * @m_keywords{DXGI_FORMAT_R8G8B8A8_SINT MTLPixelFormatRGBA8Sint} */ RGBA8I, @@ -244,8 +297,11 @@ enum class PixelFormat: UnsignedInt { * Red component, normalized unsigned short. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::R16 / - * @def_vk_keyword{FORMAT_R16_UNORM,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::R16; + * @def_vk_keyword{FORMAT_R16_UNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR16Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr16unorm?language=objc). + * @m_keywords{DXGI_FORMAT_R16_UNORM MTLPixelFormatR16Unorm} */ R16Unorm, @@ -253,8 +309,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, normalized unsigned short. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RG16 / - * @def_vk_keyword{FORMAT_R16G16_UNORM,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RG16; + * @def_vk_keyword{FORMAT_R16G16_UNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG16Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg16unorm?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16_UNORM MTLPixelFormatRG16Unorm} */ RG16Unorm, @@ -262,8 +321,9 @@ enum class PixelFormat: UnsignedInt { * RGB, normalized unsigned short. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGB16 / - * @def_vk_keyword{FORMAT_R16G16B16_UNORM,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGB16 or + * @def_vk_keyword{FORMAT_R16G16B16_UNORM,Format}. No 48-bit D3D or Metal + * equivalent. */ RGB16Unorm, @@ -271,8 +331,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, normalized unsigned short. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGBA16 / - * @def_vk_keyword{FORMAT_R16G16B16A16_UNORM,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGBA16; + * @def_vk_keyword{FORMAT_R16G16B16A16_UNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16A16_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA16Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba16unorm?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16B16A16_UNORM MTLPixelFormatRGBA16Unorm} */ RGBA16Unorm, @@ -280,8 +343,11 @@ enum class PixelFormat: UnsignedInt { * Red component, normalized signed short. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::R16Snorm / - * @def_vk_keyword{FORMAT_R16_SNORM,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::R16Snorm; + * @def_vk_keyword{FORMAT_R16_SNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR16Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr16snorm?language=objc). + * @m_keywords{DXGI_FORMAT_R16_SNORM MTLPixelFormatR16Snorm} */ R16Snorm, @@ -289,8 +355,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, normalized signed short. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::RG16Snorm / - * @def_vk_keyword{FORMAT_R16G16_SNORM,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::RG16Snorm; + * @def_vk_keyword{FORMAT_R16G16_SNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG16Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg16snorm?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16_SNORM MTLPixelFormatRG16Snorm} */ RG16Snorm, @@ -298,8 +367,9 @@ enum class PixelFormat: UnsignedInt { * RGB, normalized signed short. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGB16Snorm / - * @def_vk_keyword{FORMAT_R16G16B16_SNORM,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGB16Snorm; + * @def_vk_keyword{FORMAT_R16G16B16_SNORM,Format}. No 48-bit D3D or Metal + * equivalent. */ RGB16Snorm, @@ -307,8 +377,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, normalized signed short. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGBA16Snorm / - * @def_vk_keyword{FORMAT_R16G16B16A16_SNORM,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGBA16Snorm; + * @def_vk_keyword{FORMAT_R16G16B16A16_SNORM,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16A16_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA16Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba16snorm?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16B16A16_SNORM MTLPixelFormatRGBA16Snorm} */ RGBA16Snorm, @@ -316,8 +389,11 @@ enum class PixelFormat: UnsignedInt { * Red component, integral unsigned short. * * Corresponds to @ref GL::PixelFormat::RedInteger and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::R16UI / - * @def_vk_keyword{FORMAT_R16_UINT,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::R16UI; + * @def_vk_keyword{FORMAT_R16_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR16Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr16uint?language=objc). + * @m_keywords{DXGI_FORMAT_R16_UINT MTLPixelFormatR16Uint} */ R16UI, @@ -325,8 +401,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, integral unsigned short. * * Corresponds to @ref GL::PixelFormat::RGInteger and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RG16UI / - * @def_vk_keyword{FORMAT_R16G16_UINT,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RG16UI; + * @def_vk_keyword{FORMAT_R16G16_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG16Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg16uint?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16_UINT MTLPixelFormatRG16Uint} */ RG16UI, @@ -334,8 +413,9 @@ enum class PixelFormat: UnsignedInt { * RGB, integral unsigned short. * * Corresponds to @ref GL::PixelFormat::RGBInteger and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGB16UI / - * @def_vk_keyword{FORMAT_R16G16B16_UINT,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGB16UI; + * @def_vk_keyword{FORMAT_R16G16B16_UINT,Format}. No 48-bit D3D or Metal + * equivalent. */ RGB16UI, @@ -343,8 +423,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, integral unsigned short. * * Corresponds to @ref GL::PixelFormat::RGBAInteger and - * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGBA16UI / - * @def_vk_keyword{FORMAT_R16G16B16A16_UINT,Format}. + * @ref GL::PixelType::UnsignedShort, @ref GL::TextureFormat::RGBA16UI; + * @def_vk_keyword{FORMAT_R16G16B16A16_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16A16_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA16Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba16uint?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16B16A16_UINT MTLPixelFormatRGBA16Uint} */ RGBA16UI, @@ -352,8 +435,11 @@ enum class PixelFormat: UnsignedInt { * Red component, integral signed short. * * Corresponds to @ref GL::PixelFormat::RedInteger and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::R16I / - * @def_vk_keyword{FORMAT_R16_SINT,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::R16I; + * @def_vk_keyword{FORMAT_R16_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR16Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr16sint?language=objc). + * @m_keywords{DXGI_FORMAT_R16_SINT MTLPixelFormatR16Sint} */ R16I, @@ -361,8 +447,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, integral signed short. * * Corresponds to @ref GL::PixelFormat::RGInteger and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::RG16I / - * @def_vk_keyword{FORMAT_R16G16_SINT,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::RG16I; + * @def_vk_keyword{FORMAT_R16G16_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG16Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg16sint?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16_SINT MTLPixelFormatRG16Sint} */ RG16I, @@ -370,8 +459,9 @@ enum class PixelFormat: UnsignedInt { * RGB, integral signed short. * * Corresponds to @ref GL::PixelFormat::RGBInteger and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGB16I / - * @def_vk_keyword{FORMAT_R16G16B16_SINT,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGB16I; + * @def_vk_keyword{FORMAT_R16G16B16_SINT,Format}. No 48-bit D3D or Metal + * equivalent. */ RGB16I, @@ -379,8 +469,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, integral signed short. * * Corresponds to @ref GL::PixelFormat::RGBAInteger and - * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGBA16I / - * @def_vk_keyword{FORMAT_R16G16B16A16_SINT,Format}. + * @ref GL::PixelType::Short, @ref GL::TextureFormat::RGBA16I; + * @def_vk_keyword{FORMAT_R16G16B16A16_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16A16_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA16Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba16sint?language=objc). + * @m_keywords{DXGI_FORMAT_R16G16B16A16_SINT MTLPixelFormatRGBA16Sint} */ RGBA16I, @@ -388,8 +481,11 @@ enum class PixelFormat: UnsignedInt { * Red component, integral unsigned int. * * Corresponds to @ref GL::PixelFormat::RedInteger and - * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::R32UI / - * @def_vk_keyword{FORMAT_R32_UINT,Format}. + * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::R32UI; + * @def_vk_keyword{FORMAT_R32_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR32Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr32uint?language=objc). + * @m_keywords{DXGI_FORMAT_R32_UINT MTLPixelFormatR32Uint} */ R32UI, @@ -397,8 +493,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, integral unsigned int. * * Corresponds to @ref GL::PixelFormat::RGInteger and - * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::RG32UI / - * @def_vk_keyword{FORMAT_R32G32_UINT,Format}. + * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::RG32UI; + * @def_vk_keyword{FORMAT_R32G32_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG32Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg32uint?language=objc). + * @m_keywords{DXGI_FORMAT_R32G32_UINT MTLPixelFormatRG32Uint} */ RG32UI, @@ -406,8 +505,11 @@ enum class PixelFormat: UnsignedInt { * RGB, integral unsigned int. * * Corresponds to @ref GL::PixelFormat::RGBInteger and - * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::RGB32UI / - * @def_vk_keyword{FORMAT_R32G32B32_UINT,Format}. + * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::RGB32UI; + * @def_vk_keyword{FORMAT_R32G32B32_UINT,Format} or + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format). + * No 96-bit Metal equivalent. + * @m_keywords{DXGI_FORMAT_R32G32B32_UINT} */ RGB32UI, @@ -415,8 +517,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, integral unsigned int. * * Corresponds to @ref GL::PixelFormat::RGBAInteger and - * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::RGBA32UI / - * @def_vk_keyword{FORMAT_R32G32B32A32_UINT,Format}. + * @ref GL::PixelType::UnsignedInt, @ref GL::TextureFormat::RGBA32UI; + * @def_vk_keyword{FORMAT_R32G32B32A32_UINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32A32_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA32Uint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba32uint?language=objc). + * @m_keywords{DXGI_FORMAT_R32G32B32A32_UINT MTLPixelFormatRGBA32Uint} */ RGBA32UI, @@ -424,8 +529,11 @@ enum class PixelFormat: UnsignedInt { * Red component, integral signed int. * * Corresponds to @ref GL::PixelFormat::RedInteger and - * @ref GL::PixelType::Int, @ref GL::TextureFormat::R32I / - * @def_vk_keyword{FORMAT_R32_SINT,Format}. + * @ref GL::PixelType::Int, @ref GL::TextureFormat::R32I; + * @def_vk_keyword{FORMAT_R32_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR32Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr32sint?language=objc). + * @m_keywords{DXGI_FORMAT_R32_SINT MTLPixelFormatR32Sint} */ R32I, @@ -433,8 +541,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, integral signed int. * * Corresponds to @ref GL::PixelFormat::RGInteger and - * @ref GL::PixelType::Int, @ref GL::TextureFormat::RG32I / - * @def_vk_keyword{FORMAT_R32G32_SINT,Format}. + * @ref GL::PixelType::Int, @ref GL::TextureFormat::RG32I; + * @def_vk_keyword{FORMAT_R32G32_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG32Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg32sint?language=objc). + * @m_keywords{DXGI_FORMAT_R32G32_SINT MTLPixelFormatRG32Sint} */ RG32I, @@ -442,8 +553,11 @@ enum class PixelFormat: UnsignedInt { * RGB, integral signed int. * * Corresponds to @ref GL::PixelFormat::RGBInteger and - * @ref GL::PixelType::Int, @ref GL::TextureFormat::RGB32I / - * @def_vk_keyword{FORMAT_R32G32B32_SINT,Format}. + * @ref GL::PixelType::Int, @ref GL::TextureFormat::RGB32I; + * @def_vk_keyword{FORMAT_R32G32B32_SINT,Format} or + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format). + * No 96-bit Metal equivalent. + * @m_keywords{DXGI_FORMAT_R32G32B32_SINT} */ RGB32I, @@ -451,8 +565,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, integral signed int. * * Corresponds to @ref GL::PixelFormat::RGBAInteger and - * @ref GL::PixelType::Int, @ref GL::TextureFormat::RGBA32I / - * @def_vk_keyword{FORMAT_R32G32B32A32_SINT,Format}. + * @ref GL::PixelType::Int, @ref GL::TextureFormat::RGBA32I; + * @def_vk_keyword{FORMAT_R32G32B32A32_SINT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32A32_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA32Sint](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba32sint?language=objc). + * @m_keywords{DXGI_FORMAT_R32G32B32A32_SINT MTLPixelFormatRGBA32Sint} */ RGBA32I, @@ -460,9 +577,12 @@ enum class PixelFormat: UnsignedInt { * Red component, half float. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::R16F / - * @def_vk_keyword{FORMAT_R16_SFLOAT,Format}. + * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::R16F; + * @def_vk_keyword{FORMAT_R16_SFLOAT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR16Float](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr16float?language=objc). * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @m_keywords{DXGI_FORMAT_R16_FLOAT MTLPixelFormatR16Float} */ R16F, @@ -470,9 +590,12 @@ enum class PixelFormat: UnsignedInt { * Red and green component, half float. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::RG16F / - * @def_vk_keyword{FORMAT_R16G16_SFLOAT,Format}. + * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::RG16F; + * @def_vk_keyword{FORMAT_R16G16_SFLOAT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG16Float](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg16float?language=objc). * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @m_keywords{DXGI_FORMAT_R16G16_FLOAT MTLPixelFormatRG16Float} */ RG16F, @@ -480,8 +603,9 @@ enum class PixelFormat: UnsignedInt { * RGB, half float. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::RGB16F / - * @def_vk_keyword{FORMAT_R16G16B16_SFLOAT,Format}. + * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::RGB16F; + * @def_vk_keyword{FORMAT_R16G16B16_SFLOAT,Format}. No 48-bit D3D or Metal + * equivalent. * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() */ RGB16F, @@ -490,9 +614,12 @@ enum class PixelFormat: UnsignedInt { * RGBA, half float. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::RGBA16F / - * @def_vk_keyword{FORMAT_R16G16B16A16_SFLOAT,Format}. + * @ref GL::PixelType::HalfFloat, @ref GL::TextureFormat::RGBA16F; + * @def_vk_keyword{FORMAT_R16G16B16A16_SFLOAT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16A16_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA16Float](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba16float?language=objc). * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @m_keywords{DXGI_FORMAT_R16G16B16A16_FLOAT MTLPixelFormatRGBA16Float} */ RGBA16F, @@ -500,8 +627,11 @@ enum class PixelFormat: UnsignedInt { * Red component, half float. * * Corresponds to @ref GL::PixelFormat::Red and - * @ref GL::PixelType::Float, @ref GL::TextureFormat::R32F / - * @def_vk_keyword{FORMAT_R32_SFLOAT,Format}. + * @ref GL::PixelType::Float, @ref GL::TextureFormat::R32F; + * @def_vk_keyword{FORMAT_R32_SFLOAT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatR32Float](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatr32float?language=objc). + * @m_keywords{DXGI_FORMAT_R32_FLOAT MTLPixelFormatR32Float} */ R32F, @@ -509,8 +639,11 @@ enum class PixelFormat: UnsignedInt { * Red and green component, half float. * * Corresponds to @ref GL::PixelFormat::RG and - * @ref GL::PixelType::Float, @ref GL::TextureFormat::RG32F / - * @def_vk_keyword{FORMAT_R32G32_SFLOAT,Format}. + * @ref GL::PixelType::Float, @ref GL::TextureFormat::RG32F; + * @def_vk_keyword{FORMAT_R32G32_SFLOAT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRG32Float](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrg32float?language=objc). + * @m_keywords{DXGI_FORMAT_R32G32_FLOAT MTLPixelFormatRG32Float} */ RG32F, @@ -518,8 +651,11 @@ enum class PixelFormat: UnsignedInt { * RGB, half float. * * Corresponds to @ref GL::PixelFormat::RGB and - * @ref GL::PixelType::Float, @ref GL::TextureFormat::RGB32F / - * @def_vk_keyword{FORMAT_R32G32B32_SFLOAT,Format}. + * @ref GL::PixelType::Float, @ref GL::TextureFormat::RGB32F; + * @def_vk_keyword{FORMAT_R32G32B32_SFLOAT,Format} or + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format). + * No 96-bit Metal equivalent. + * @m_keywords{DXGI_FORMAT_R32G32B32_UINT} */ RGB32F, @@ -527,8 +663,11 @@ enum class PixelFormat: UnsignedInt { * RGBA, half float. * * Corresponds to @ref GL::PixelFormat::RGBA and - * @ref GL::PixelType::Float, @ref GL::TextureFormat::RGBA32F / - * @def_vk_keyword{FORMAT_R32G32B32A32_SFLOAT,Format}. + * @ref GL::PixelType::Float, @ref GL::TextureFormat::RGBA32F; + * @def_vk_keyword{FORMAT_R32G32B32A32_SFLOAT,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32A32_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatRGBA32Float](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatrgba32float?language=objc). + * @m_keywords{DXGI_FORMAT_R32G32B32A32_FLOAT MTLPixelFormatRGBA32Float} */ RGBA32F }; @@ -605,6 +744,11 @@ to it using @ref Vk::vkFormat(Magnum::CompressedPixelFormat). See documentation of each value for more information about the mapping. Note that not every format may be available, use @ref Vk::hasVkFormat(Magnum::CompressedPixelFormat) to check for its presence. + +For D3D, corresponds to @m_class{m-doc-external} [DXGI_FORMAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) +and import is provided by the @ref Trade::DdsImporter "DdsImporter" plugin; for +Metal, corresponds to @m_class{m-doc-external} [MTLPixelFormat](https://developer.apple.com/documentation/metal/mtlpixelformat?language=objc). +See documentation of each value for more information about the mapping. @see @ref PixelFormat, @ref CompressedImage, @ref CompressedImageView */ enum class CompressedPixelFormat: UnsignedInt { @@ -615,8 +759,9 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGB, normalized unsigned byte (DXT1). * * Corresponds to @ref GL::CompressedPixelFormat::RGBS3tcDxt1, - * @ref GL::TextureFormat::CompressedRGBS3tcDxt1 / - * @def_vk_keyword{FORMAT_BC1_RGB_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBS3tcDxt1 or + * @def_vk_keyword{FORMAT_BC1_RGB_UNORM_BLOCK,Format}. No D3D or Metal + * equivalent. */ Bc1RGBUnorm = 1, @@ -625,8 +770,9 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB, normalized unsigned byte (DXT1). * * Corresponds to @ref GL::CompressedPixelFormat::SRGBS3tcDxt1, - * @ref GL::TextureFormat::CompressedSRGBS3tcDxt1 / - * @def_vk_keyword{FORMAT_BC1_RGB_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGBS3tcDxt1 or + * @def_vk_keyword{FORMAT_BC1_RGB_SRGB_BLOCK,Format}. No D3D or Metal + * equivalent. */ Bc1RGBSrgb, @@ -635,8 +781,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte (DXT1). * * Corresponds to @ref GL::CompressedPixelFormat::RGBAS3tcDxt1, - * @ref GL::TextureFormat::CompressedRGBAS3tcDxt1 / - * @def_vk_keyword{FORMAT_BC1_RGBA_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAS3tcDxt1; + * @def_vk_keyword{FORMAT_BC1_RGBA_UNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC1_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC1_RGBA](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc1_rgba?language=objc). + * @m_keywords{DXGI_FORMAT_BC1_UNORM MTLPixelFormatBC1_RGBA} */ Bc1RGBAUnorm, @@ -645,8 +794,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB + linear alpha, normalized unsigned byte (DXT1). * * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaS3tcDxt1, - * @ref GL::TextureFormat::CompressedSRGBAlphaS3tcDxt1 / - * @def_vk_keyword{FORMAT_BC1_RGBA_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGBAlphaS3tcDxt1; + * @def_vk_keyword{FORMAT_BC1_RGBA_SRGB_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC1_UNORM_SRGB](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC1_RGBA_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc1_rgba_srgb?language=objc). + * @m_keywords{DXGI_FORMAT_BC1_UNORM_SRGB MTLPixelFormatBC1_RGBA_sRGB} */ Bc1RGBASrgb, @@ -655,8 +807,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte (DXT3). * * Corresponds to @ref GL::CompressedPixelFormat::RGBAS3tcDxt3, - * @ref GL::TextureFormat::CompressedRGBAS3tcDxt3 / - * @def_vk_keyword{FORMAT_BC2_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAS3tcDxt3; + * @def_vk_keyword{FORMAT_BC2_UNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC2_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC2_RGBA](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc2_rgba?language=objc). + * @m_keywords{DXGI_FORMAT_BC2_UNORM MTLPixelFormatBC2_RGBA} */ Bc2RGBAUnorm, @@ -665,8 +820,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB + linear alpha, normalized unsigned byte (DXT3). * * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaS3tcDxt3, - * @ref GL::TextureFormat::CompressedSRGBAlphaS3tcDxt3 / - * @def_vk_keyword{FORMAT_BC2_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGBAlphaS3tcDxt3; + * @def_vk_keyword{FORMAT_BC2_SRGB_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC2_UNORM_SRGB](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC2_RGBA_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc2_rgba_srgb?language=objc). + * @m_keywords{DXGI_FORMAT_BC2_UNORM_SRGB MTLPixelFormatBC2_RGBA_sRGB} */ Bc2RGBASrgb, @@ -675,8 +833,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte (DXT5). * * Corresponds to @ref GL::CompressedPixelFormat::RGBAS3tcDxt5, - * @ref GL::TextureFormat::CompressedRGBAS3tcDxt5 / - * @def_vk_keyword{FORMAT_BC3_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAS3tcDxt5; + * @def_vk_keyword{FORMAT_BC3_UNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC3_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC3_RGBA](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc3_rgba?language=objc). + * @m_keywords{DXGI_FORMAT_BC3_UNORM MTLPixelFormatBC3_RGBA} */ Bc3RGBAUnorm, @@ -685,8 +846,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB + linear alpha, normalized unsigned byte (DXT5). * * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaS3tcDxt5, - * @ref GL::TextureFormat::CompressedSRGBAlphaS3tcDxt5 / - * @def_vk_keyword{FORMAT_BC3_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGBAlphaS3tcDxt5; + * @def_vk_keyword{FORMAT_BC3_SRGB_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC3_UNORM_SRGB](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC3_RGBA_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc3_rgba_srgb?language=objc). + * @m_keywords{DXGI_FORMAT_BC3_UNORM_SRGB MTLPixelFormatBC3_RGBA_sRGB} */ Bc3RGBASrgb, @@ -694,9 +858,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [3Dc+](https://en.wikipedia.org/wiki/3Dc#3Dc+) BC4 compressed red * component, unsigned normalized. Also known as RGTC1 or LATC1. * - * Corresponds to @ref GL::CompressedPixelFormat::RedRgtc1 / - * @ref GL::TextureFormat::CompressedRedRgtc1 / - * @def_vk_keyword{FORMAT_BC4_UNORM_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::RedRgtc1, + * @ref GL::TextureFormat::CompressedRedRgtc1; + * @def_vk_keyword{FORMAT_BC4_UNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC4_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC4_RUnorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc4_runorm?language=objc). + * @m_keywords{DXGI_FORMAT_BC4_UNORM MTLPixelFormatBC4_RUnorm} */ Bc4RUnorm, @@ -704,9 +871,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [3Dc+](https://en.wikipedia.org/wiki/3Dc#3Dc+) BC4 compressed red * component, signed normalized. Also known as RGTC1 or LATC1. * - * Corresponds to @ref GL::CompressedPixelFormat::SignedRedRgtc1 / - * @ref GL::TextureFormat::CompressedSignedRedRgtc1 / - * @def_vk_keyword{FORMAT_BC4_SNORM_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::SignedRedRgtc1, + * @ref GL::TextureFormat::CompressedSignedRedRgtc1; + * @def_vk_keyword{FORMAT_BC4_SNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC4_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC4_RSnorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc4_rsnorm?language=objc). + * @m_keywords{DXGI_FORMAT_BC4_SNORM MTLPixelFormatBC4_RSnorm} */ Bc4RSnorm, @@ -714,9 +884,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [3Dc](https://en.wikipedia.org/wiki/3Dc) BC5 compressed red and green * component, unsigned normalized. Also known as RGTC2 or LATC2. * - * Corresponds to @ref GL::CompressedPixelFormat::RGRgtc2 / - * @ref GL::TextureFormat::CompressedRGRgtc2 / - * @def_vk_keyword{FORMAT_BC5_UNORM_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::RGRgtc2, + * @ref GL::TextureFormat::CompressedRGRgtc2; + * @def_vk_keyword{FORMAT_BC5_UNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC5_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC5_RGUnorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc5_rgunorm?language=objc). + * @m_keywords{DXGI_FORMAT_BC5_UNORM MTLPixelFormatBC5_RGUnorm} */ Bc5RGUnorm, @@ -724,9 +897,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [3Dc](https://en.wikipedia.org/wiki/3Dc) BC5 compressed red and green * component, signed normalized. Also known as RGTC2 or LATC2. * - * Corresponds to @ref GL::CompressedPixelFormat::SignedRGRgtc2 / - * @ref GL::TextureFormat::CompressedSignedRGRgtc2 / - * @def_vk_keyword{FORMAT_BC5_SNORM_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::SignedRGRgtc2, + * @ref GL::TextureFormat::CompressedSignedRGRgtc2; + * @def_vk_keyword{FORMAT_BC5_SNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC5_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC5_RGSnorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc5_rgsnorm?language=objc). + * @m_keywords{DXGI_FORMAT_BC5_SNORM MTLPixelFormatBC5_RGSnorm} */ Bc5RGSnorm, @@ -734,9 +910,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [BC6H](https://docs.microsoft.com/en-us/windows/win32/direct3d11/bc6h-format) * compressed RGB, unsigned float. Also known as BPTC. * - * Corresponds to @ref GL::CompressedPixelFormat::RGBBptcUnsignedFloat / - * @ref GL::TextureFormat::CompressedRGBBptcUnsignedFloat / - * @def_vk_keyword{FORMAT_BC6H_UFLOAT_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::RGBBptcUnsignedFloat, + * @ref GL::TextureFormat::CompressedRGBBptcUnsignedFloat; + * @def_vk_keyword{FORMAT_BC6H_UFLOAT_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC6H_UF16](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC6H_RGBUfloat](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc6h_rgbufloat?language=objc). + * @m_keywords{DXGI_FORMAT_BC6H_UF16 MTLPixelFormatBC6H_RGBUfloat} */ Bc6hRGBUfloat, @@ -744,9 +923,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [BC6H](https://docs.microsoft.com/en-us/windows/win32/direct3d11/bc6h-format) * compressed RGB, signed float. Also known as BPTC. * - * Corresponds to @ref GL::CompressedPixelFormat::RGBBptcSignedFloat / - * @ref GL::TextureFormat::CompressedRGBBptcSignedFloat / - * @def_vk_keyword{FORMAT_BC6H_SFLOAT_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::RGBBptcSignedFloat, + * @ref GL::TextureFormat::CompressedRGBBptcSignedFloat; + * @def_vk_keyword{FORMAT_BC6H_SFLOAT_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC6H_SF16](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC6H_RGBFloat](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc6h_rgbfloat?language=objc). + * @m_keywords{DXGI_FORMAT_BC6H_UF16 MTLPixelFormatBC6H_RGBFloat} */ Bc6hRGBSfloat, @@ -754,9 +936,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [BC7](https://docs.microsoft.com/en-us/windows/win32/direct3d11/bc7-format), * compressed RGBA, unsigned normalized. Also known as BPTC. * - * Corresponds to @ref GL::CompressedPixelFormat::RGBABptcUnorm / - * @ref GL::TextureFormat::CompressedRGBABptcUnorm / - * @def_vk_keyword{FORMAT_BC7_UNORM_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::RGBABptcUnorm, + * @ref GL::TextureFormat::CompressedRGBABptcUnorm; + * @def_vk_keyword{FORMAT_BC7_UNORM_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC7_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC7_RGBAUnorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc7_rgbaunorm?language=objc). + * @m_keywords{DXGI_FORMAT_BC7_UNORM MTLPixelFormatBC7_RGBAUnorm} */ Bc7RGBAUnorm, @@ -764,9 +949,12 @@ enum class CompressedPixelFormat: UnsignedInt { * [BC7](https://docs.microsoft.com/en-us/windows/win32/direct3d11/bc7-format), * compressed sRGB + linear alpha, unsigned normalized. Also known as BPTC. * - * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaBptcUnorm / - * @ref GL::TextureFormat::CompressedSRGBAlphaBptcUnorm / - * @def_vk_keyword{FORMAT_BC7_SRGB_BLOCK,Format}. + * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaBptcUnorm, + * @ref GL::TextureFormat::CompressedSRGBAlphaBptcUnorm; + * @def_vk_keyword{FORMAT_BC7_SRGB_BLOCK,Format}; + * @m_class{m-doc-external} [DXGI_FORMAT_BC7_UNORM_SRGB](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format) + * or @m_class{m-doc-external} [MTLPixelFormatBC7_RGBAUnorm_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatbc7_rgbaunorm_srgb?language=objc). + * @m_keywords{DXGI_FORMAT_BC7_UNORM_SRGB MTLPixelFormatBC7_RGBAUnorm_sRGB} */ Bc7RGBASrgb, @@ -775,8 +963,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed red component, normalized unsigned 11-bit. * * Corresponds to @ref GL::CompressedPixelFormat::R11Eac, - * @ref GL::TextureFormat::CompressedR11Eac / - * @def_vk_keyword{FORMAT_EAC_R11_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedR11Eac; + * @def_vk_keyword{FORMAT_EAC_R11_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatEAC_R11Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformateac_r11unorm?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatEAC_R11Unorm} */ EacR11Unorm, @@ -785,8 +976,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed red component, normalized signed 11-bit. * * Corresponds to @ref GL::CompressedPixelFormat::SignedR11Eac, - * @ref GL::TextureFormat::CompressedSignedR11Eac / - * @def_vk_keyword{FORMAT_EAC_R11_SNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSignedR11Eac; + * @def_vk_keyword{FORMAT_EAC_R11_SNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatEAC_R11Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformateac_r11snorm?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatEAC_R11Unorm} */ EacR11Snorm, @@ -795,8 +989,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed red and green component, normalized unsigned 11-bit. * * Corresponds to @ref GL::CompressedPixelFormat::RG11Eac, - * @ref GL::TextureFormat::CompressedRG11Eac / - * @def_vk_keyword{FORMAT_EAC_R11G11_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRG11Eac; + * @def_vk_keyword{FORMAT_EAC_R11G11_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatEAC_RG11Unorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformateac_rg11unorm?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatEAC_R11Unorm} */ EacRG11Unorm, @@ -805,8 +1002,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed red and green component, normalized signed 11-bit. * * Corresponds to @ref GL::CompressedPixelFormat::SignedRG11Eac, - * @ref GL::TextureFormat::CompressedSignedRG11Eac / - * @def_vk_keyword{FORMAT_EAC_R11G11_SNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSignedRG11Eac; + * @def_vk_keyword{FORMAT_EAC_R11G11_SNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatEAC_RG11Snorm](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformateac_rg11snorm?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatEAC_RG11Snorm} */ EacRG11Snorm, @@ -815,8 +1015,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGB, normalized unsigned byte. * * Corresponds to @ref GL::CompressedPixelFormat::RGB8Etc2, - * @ref GL::TextureFormat::CompressedRGB8Etc2 / - * @def_vk_keyword{FORMAT_ETC2_R8G8B8_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGB8Etc2; + * @def_vk_keyword{FORMAT_ETC2_R8G8B8_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatETC2_RGB8](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatetc2_rgb8?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatETC2_RGB8} */ Etc2RGB8Unorm, @@ -825,8 +1028,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB, normalized unsigned byte. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Etc2, - * @ref GL::TextureFormat::CompressedSRGB8Etc2 / - * @def_vk_keyword{FORMAT_ETC2_R8G8B8_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Etc2; + * @def_vk_keyword{FORMAT_ETC2_R8G8B8_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatETC2_RGB8_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatetc2_rgb8_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatETC2_RGB8_sRGB} */ Etc2RGB8Srgb, @@ -835,8 +1041,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGB, normalized unsigned byte + a single-bit alpha. * * Corresponds to @ref GL::CompressedPixelFormat::RGB8PunchthroughAlpha1Etc2, - * @ref GL::TextureFormat::CompressedRGB8PunchthroughAlpha1Etc2 / - * @def_vk_keyword{FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGB8PunchthroughAlpha1Etc2; + * @def_vk_keyword{FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatETC2_RGB8A1](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatetc2_rgb8a1?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatETC2_RGB8A1} */ Etc2RGB8A1Unorm, @@ -845,8 +1054,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB, normalized unsigned byte + a single-bit alpha. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8PunchthroughAlpha1Etc2, - * @ref GL::TextureFormat::CompressedSRGB8PunchthroughAlpha1Etc2 / - * @def_vk_keyword{FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8PunchthroughAlpha1Etc2; + * @def_vk_keyword{FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatETC2_RGB8A1_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatetc2_rgb8a1_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatETC2_RGB8A1_sRGB} */ Etc2RGB8A1Srgb, @@ -855,8 +1067,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte (EAC). * * Corresponds to @ref GL::CompressedPixelFormat::RGBA8Etc2Eac, - * @ref GL::TextureFormat::CompressedRGBA8Etc2Eac / - * @def_vk_keyword{FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBA8Etc2Eac; + * @def_vk_keyword{FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatEAC_RGBA8](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformateac_rgba8?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatEAC_RGBA8} */ Etc2RGBA8Unorm, @@ -865,8 +1080,11 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed sRGB + linear alpha, normalized unsigned byte (EAC). * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Etc2Eac, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Etc2Eac / - * @def_vk_keyword{FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Etc2Eac; + * @def_vk_keyword{FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatEAC_RGBA8_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformateac_rgba8_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatEAC_RGBA8_sRGB} */ Etc2RGBA8Srgb, @@ -875,8 +1093,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 4x4 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc4x4, - * @ref GL::TextureFormat::CompressedRGBAAstc4x4 / - * @def_vk_keyword{FORMAT_ASTC_4x4_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc4x4; + * @def_vk_keyword{FORMAT_ASTC_4x4_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_4x4_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_4x4_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_4x4_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_4x4_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_4x4_LDR MTLPixelFormatASTC_4x4_HDR} */ Astc4x4RGBAUnorm, @@ -886,8 +1108,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc4x4, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc4x4 / - * @def_vk_keyword{FORMAT_ASTC_4x4_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc4x4; + * @def_vk_keyword{FORMAT_ASTC_4x4_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_4x4_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_4x4_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_4x4_sRGB} */ Astc4x4RGBASrgb, @@ -896,8 +1121,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 5x4 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc5x4, - * @ref GL::TextureFormat::CompressedRGBAAstc5x4 / - * @def_vk_keyword{FORMAT_ASTC_5x4_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc5x4; + * @def_vk_keyword{FORMAT_ASTC_5x4_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_5x4_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_5x4_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_5x4_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_5x4_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_5x4_LDR MTLPixelFormatASTC_5x4_HDR} */ Astc5x4RGBAUnorm, @@ -907,8 +1136,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc5x4, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc5x4 / - * @def_vk_keyword{FORMAT_ASTC_5x4_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc5x4; + * @def_vk_keyword{FORMAT_ASTC_5x4_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_5x4_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_5x4_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_5x4_sRGB} */ Astc5x4RGBASrgb, @@ -917,8 +1149,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 5x5 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc5x5, - * @ref GL::TextureFormat::CompressedRGBAAstc5x5 / - * @def_vk_keyword{FORMAT_ASTC_5x5_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc5x5; + * @def_vk_keyword{FORMAT_ASTC_5x5_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_5x5_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_5x5_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_5x5_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_5x5_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_5x5_LDR MTLPixelFormatASTC_5x5_HDR} */ Astc5x5RGBAUnorm, @@ -928,8 +1164,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc5x5, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc5x5 / - * @def_vk_keyword{FORMAT_ASTC_5x5_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc5x5; + * @def_vk_keyword{FORMAT_ASTC_5x5_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_5x5_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_5x5_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_5x5_sRGB} */ Astc5x5RGBASrgb, @@ -938,8 +1177,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 6x5 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc6x5, - * @ref GL::TextureFormat::CompressedRGBAAstc6x5 / - * @def_vk_keyword{FORMAT_ASTC_6x5_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc6x5; + * @def_vk_keyword{FORMAT_ASTC_6x5_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_6x5_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_6x5_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_6x5_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_6x5_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_6x5_LDR MTLPixelFormatASTC_6x5_HDR} */ Astc6x5RGBAUnorm, @@ -949,8 +1192,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc6x5, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc6x5 / - * @def_vk_keyword{FORMAT_ASTC_6x5_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc6x5; + * @def_vk_keyword{FORMAT_ASTC_6x5_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_6x5_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_6x5_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_6x5_sRGB} */ Astc6x5RGBASrgb, @@ -959,8 +1205,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 6x6 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc6x6, - * @ref GL::TextureFormat::CompressedRGBAAstc6x6 / - * @def_vk_keyword{FORMAT_ASTC_6x6_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc6x6; + * @def_vk_keyword{FORMAT_ASTC_6x6_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_6x6_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_6x6_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_6x6_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_6x6_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_6x6_LDR MTLPixelFormatASTC_6x6_HDR} */ Astc6x6RGBAUnorm, @@ -970,8 +1220,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc6x6, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc6x6 / - * @def_vk_keyword{FORMAT_ASTC_6x6_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc6x6; + * @def_vk_keyword{FORMAT_ASTC_6x6_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_6x6_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_6x6_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_6x6_sRGB} */ Astc6x6RGBASrgb, @@ -980,8 +1233,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 8x5 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc8x5, - * @ref GL::TextureFormat::CompressedRGBAAstc8x5 / - * @def_vk_keyword{FORMAT_ASTC_8x5_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc8x5; + * @def_vk_keyword{FORMAT_ASTC_8x5_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x5_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x5_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x5_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x5_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_8x5_LDR MTLPixelFormatASTC_8x5_HDR} */ Astc8x5RGBAUnorm, @@ -991,8 +1248,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc8x5, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc8x5 / - * @def_vk_keyword{FORMAT_ASTC_8x5_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc8x5; + * @def_vk_keyword{FORMAT_ASTC_8x5_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x5_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x5_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_8x5_sRGB} */ Astc8x5RGBASrgb, @@ -1001,8 +1261,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 8x6 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc8x6, - * @ref GL::TextureFormat::CompressedRGBAAstc8x6 / - * @def_vk_keyword{FORMAT_ASTC_8x6_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc8x6; + * @def_vk_keyword{FORMAT_ASTC_8x6_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x6_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x6_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x6_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x6_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_8x6_LDR MTLPixelFormatASTC_8x6_HDR} */ Astc8x6RGBAUnorm, @@ -1012,8 +1276,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc8x6, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc8x6 / - * @def_vk_keyword{FORMAT_ASTC_8x6_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc8x6; + * @def_vk_keyword{FORMAT_ASTC_8x6_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x6_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x6_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_8x6_sRGB} */ Astc8x6RGBASrgb, @@ -1022,8 +1289,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 8x8 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc8x8, - * @ref GL::TextureFormat::CompressedRGBAAstc8x8 / - * @def_vk_keyword{FORMAT_ASTC_8x8_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc8x8; + * @def_vk_keyword{FORMAT_ASTC_8x8_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x8_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x8_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x8_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x8_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_8x8_LDR MTLPixelFormatASTC_8x8_HDR} */ Astc8x8RGBAUnorm, @@ -1033,8 +1304,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc8x8, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc8x8 / - * @def_vk_keyword{FORMAT_ASTC_8x8_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc8x8; + * @def_vk_keyword{FORMAT_ASTC_8x8_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_8x8_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_8x8_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_8x8_sRGB} */ Astc8x8RGBASrgb, @@ -1043,8 +1317,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 10x5 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc10x5, - * @ref GL::TextureFormat::CompressedRGBAAstc10x5 / - * @def_vk_keyword{FORMAT_ASTC_10x5_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc10x5; + * @def_vk_keyword{FORMAT_ASTC_10x5_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x5_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x5_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x5_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x5_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x5_LDR MTLPixelFormatASTC_10x5_HDR} */ Astc10x5RGBAUnorm, @@ -1054,8 +1332,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc10x5, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x5 / - * @def_vk_keyword{FORMAT_ASTC_10x5_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x5; + * @def_vk_keyword{FORMAT_ASTC_10x5_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x5_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x5_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x5_sRGB} */ Astc10x5RGBASrgb, @@ -1064,8 +1345,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 10x6 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc10x6, - * @ref GL::TextureFormat::CompressedRGBAAstc10x6 / - * @def_vk_keyword{FORMAT_ASTC_10x6_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc10x6; + * @def_vk_keyword{FORMAT_ASTC_10x6_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x6_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x6_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x6_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x6_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x6_LDR MTLPixelFormatASTC_10x6_HDR} */ Astc10x6RGBAUnorm, @@ -1075,8 +1360,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc10x6, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x6 / - * @def_vk_keyword{FORMAT_ASTC_10x6_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x6; + * @def_vk_keyword{FORMAT_ASTC_10x6_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x6_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x6_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x6_sRGB} */ Astc10x6RGBASrgb, @@ -1085,8 +1373,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 10x8 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc10x8, - * @ref GL::TextureFormat::CompressedRGBAAstc10x8 / - * @def_vk_keyword{FORMAT_ASTC_10x8_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc10x8; + * @def_vk_keyword{FORMAT_ASTC_10x8_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x8_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x8_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x8_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x8_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x8_LDR MTLPixelFormatASTC_10x8_HDR} */ Astc10x8RGBAUnorm, @@ -1096,8 +1388,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc10x8, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x8 / - * @def_vk_keyword{FORMAT_ASTC_10x8_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x8; + * @def_vk_keyword{FORMAT_ASTC_10x8_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x8_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x8_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x8_sRGB} */ Astc10x8RGBASrgb, @@ -1106,8 +1401,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 10x10 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc10x10, - * @ref GL::TextureFormat::CompressedRGBAAstc10x10 / - * @def_vk_keyword{FORMAT_ASTC_10x10_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc10x10; + * @def_vk_keyword{FORMAT_ASTC_10x10_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x10_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x10_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x10_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x10_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x10_LDR MTLPixelFormatASTC_10x10_HDR} */ Astc10x10RGBAUnorm, @@ -1117,8 +1416,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc10x10, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x10 / - * @def_vk_keyword{FORMAT_ASTC_10x10_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc10x10; + * @def_vk_keyword{FORMAT_ASTC_10x10_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_10x10_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_10x10_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_10x10_sRGB} */ Astc10x10RGBASrgb, @@ -1127,8 +1429,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 12x10 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc12x10, - * @ref GL::TextureFormat::CompressedRGBAAstc12x10 / - * @def_vk_keyword{FORMAT_ASTC_12x10_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc12x10; + * @def_vk_keyword{FORMAT_ASTC_12x10_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_12x10_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_12x10_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_12x10_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_12x10_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_12x10_LDR MTLPixelFormatASTC_12x10_HDR} */ Astc12x10RGBAUnorm, @@ -1138,8 +1444,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc12x10, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc12x10 / - * @def_vk_keyword{FORMAT_ASTC_12x10_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc12x10; + * @def_vk_keyword{FORMAT_ASTC_12x10_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_12x10_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_12x10_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_12x10_sRGB} */ Astc12x10RGBASrgb, @@ -1148,8 +1457,12 @@ enum class CompressedPixelFormat: UnsignedInt { * compressed RGBA, normalized unsigned byte with 12x12 blocks. * * Corresponds to @ref GL::CompressedPixelFormat::RGBAAstc12x12, - * @ref GL::TextureFormat::CompressedRGBAAstc12x12 / - * @def_vk_keyword{FORMAT_ASTC_12x12_UNORM_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedRGBAAstc12x12; + * @def_vk_keyword{FORMAT_ASTC_12x12_UNORM_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_12x12_LDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_12x12_ldr?language=objc) / + * @m_class{m-doc-external} [MTLPixelFormatASTC_12x12_HDR](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_12x12_hdr?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_12x12_LDR MTLPixelFormatASTC_12x12_HDR} */ Astc12x12RGBAUnorm, @@ -1159,8 +1472,11 @@ enum class CompressedPixelFormat: UnsignedInt { * blocks. * * Corresponds to @ref GL::CompressedPixelFormat::SRGB8Alpha8Astc12x12, - * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc12x12 / - * @def_vk_keyword{FORMAT_ASTC_12x12_SRGB_BLOCK,Format}. + * @ref GL::TextureFormat::CompressedSRGB8Alpha8Astc12x12; + * @def_vk_keyword{FORMAT_ASTC_12x12_SRGB_BLOCK,Format} or + * @m_class{m-doc-external} [MTLPixelFormatASTC_12x12_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatastc_12x12_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatASTC_12x12_sRGB} */ Astc12x12RGBASrgb, @@ -1173,7 +1489,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::RGBPvrtc2bppV1, * @ref GL::TextureFormat::CompressedRGBPvrtc2bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGB_2BPP](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgb_2bpp?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGB_2BPP} */ PvrtcRGB2bppUnorm, @@ -1183,7 +1502,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::SRGBPvrtc2bppV1, * @ref GL::TextureFormat::CompressedSRGBPvrtc2bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGB_2BPP_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgb_2bpp_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGB_2BPP_sRGB} */ PvrtcRGB2bppSrgb, @@ -1193,7 +1515,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::RGBAPvrtc2bppV1, * @ref GL::TextureFormat::CompressedRGBAPvrtc2bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGBA_2BPP](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgba_2bpp?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGBA_2BPP} */ PvrtcRGBA2bppUnorm, @@ -1203,7 +1528,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaPvrtc2bppV1, * @ref GL::TextureFormat::CompressedSRGBAlphaPvrtc2bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGBA_2BPP_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgba_2bpp_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGBA_2BPP_sRGB} */ PvrtcRGBA2bppSrgb, @@ -1213,7 +1541,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::RGBPvrtc4bppV1, * @ref GL::TextureFormat::CompressedRGBPvrtc4bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGB_4BPP](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgb_4bpp?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGB_4BPP} */ PvrtcRGB4bppUnorm, @@ -1223,7 +1554,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::SRGBPvrtc4bppV1, * @ref GL::TextureFormat::CompressedSRGBPvrtc4bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGB_4BPP_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgb_4bpp_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGB_4BPP_sRGB} */ PvrtcRGB4bppSrgb, @@ -1233,7 +1567,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::RGBAPvrtc4bppV1, * @ref GL::TextureFormat::CompressedRGBAPvrtc4bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGBA_4BPP](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgba_4bpp?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGBA_4BPP} */ PvrtcRGBA4bppUnorm, @@ -1243,7 +1580,10 @@ enum class CompressedPixelFormat: UnsignedInt { * * Corresponds to @ref GL::CompressedPixelFormat::SRGBAlphaPvrtc4bppV1, * @ref GL::TextureFormat::CompressedSRGBAlphaPvrtc4bppV1 / - * @def_vk_keyword{FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG,Format}. + * @def_vk_keyword{FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG,Format} or + * @m_class{m-doc-external} [MTLPixelFormatPVRTC_RGBA_4BPP_sRGB](https://developer.apple.com/documentation/metal/mtlpixelformat/mtlpixelformatpvrtc_rgba_4bpp_srgb?language=objc). + * No equivalent in D3D. + * @m_keywords{MTLPixelFormatPVRTC_RGBA_4BPP_sRGB} */ PvrtcRGBA4bppSrgb