Browse Source

doc: provide a separate \def_vk and \val_vk.

Originally, \def_vk was used for enum values (equivalently to how
\def_gl is used for "enum" values in GL), but I also need to reference
actual defines such as VK_VERSION_MINOR(), so renamed it to \val_vk and
reused \def_vk for actual defines.
pull/454/head
Vladimír Vondruš 6 years ago
parent
commit
1fd8722d51
  1. 6
      doc/Doxyfile
  2. 6
      doc/Doxyfile-mcss
  3. 6
      doc/Doxyfile-public
  4. 6
      doc/coding-style.dox
  5. 3
      doc/snippets/coding-style.h
  6. 18
      src/Magnum/Mesh.h
  7. 316
      src/Magnum/PixelFormat.h
  8. 18
      src/Magnum/Sampler.h
  9. 104
      src/Magnum/VertexFormat.h
  10. 2
      src/Magnum/Vk/Enums.h

6
doc/Doxyfile

@ -301,7 +301,8 @@ ALIASES = \
"webgl_extension{2}=<a href=\"https://www.khronos.org/registry/webgl/extensions/\1_\2/\">\1_\2</a>" \
"fn_vk{1}=<a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vk\1.html\">vk\1()</a>" \
"type_vk{1}=<a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\1.html\">Vk\1</a>" \
"def_vk{2}=<a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\2.html\">VK_\1</a>" \
"val_vk{2}=<a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\2.html\">VK_\1</a>" \
"def_vk{1}=<a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_\1.html\">VK_\1</a>" \
"requires_vk_extension=@xrefitem requires-vk-extension \"Requires Vulkan extension\" \"Functionality requiring specific Vulkan extension\"" \
"vk_extension{2}= <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_\1_\2.html\">\1_\2</a>" \
"fn_al{1}=`al\1()`" \
@ -334,7 +335,8 @@ ALIASES = \
"def_gl_extension_keyword{3}=@def_gl_extension{\1,\2,\3}" \
"fn_vk_keyword{1}=@fn_vk{\1}" \
"type_vk_keyword{2}=@type_vk{\1,\2}" \
"def_vk_keyword{2}=@def_vk{\1,\2}" \
"val_vk_keyword{2}=@val_vk{\1,\2}" \
"def_vk_keyword{1}=@def_vk{\1}" \
"fn_al_keyword{1}=@fn_al{\1}" \
"fn_alc_keyword{1}=@fn_alc{\1}" \
"def_al_keyword{1}=@def_al{\1}" \

6
doc/Doxyfile-mcss

@ -58,7 +58,8 @@ ALIASES = \
"webgl_extension{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/webgl/extensions/\1_\2/\">\1_\2</a>" \
"fn_vk{1}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vk\1.html\">vk\1()</a>" \
"type_vk{1}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\1.html\">Vk\1</a>" \
"def_vk{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\2.html\">VK_\1</a>" \
"val_vk{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\2.html\">VK_\1</a>" \
"def_vk{1}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_\1.html\">VK_\1</a>" \
"requires_vk_extension=@xrefitem requires-vk-extension \"Requires Vulkan extension\" \"Functionality requiring specific Vulkan extension\"" \
"vk_extension{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_\1_\2.html\">\1_\2</a>" \
"fn_al{1}=@m_class{m-doc-external} <a href=\"https://github.com/kcat/openal-soft/wiki/Programmer's-Guide#al\1\">al\1()</a>" \
@ -91,7 +92,8 @@ ALIASES = \
"def_gl_extension_keyword{3}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"GL_\1_\2\" />@endxmlonly @def_gl_extension{\1,\2,\3}" \
"fn_vk_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"vk\1()\" />@endxmlonly @fn_vk{\1}" \
"type_vk_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"Vk\1\" />@endxmlonly @type_vk{\1}" \
"def_vk_keyword{2}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"VK_\1\" />@endxmlonly @def_vk{\1,\2}" \
"val_vk_keyword{2}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"VK_\1\" />@endxmlonly @val_vk{\1,\2}" \
"def_vk_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"VK_\1\" />@endxmlonly @def_vk{\1}" \
"fn_al_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"al\1()\" />@endxmlonly @fn_al{\1}" \
"fn_alc_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"alc\1()\" />@endxmlonly @fn_alc{\1}" \
"def_al_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"AL_\1\" />@endxmlonly @def_al{\1}" \

6
doc/Doxyfile-public

@ -54,7 +54,8 @@ ALIASES = \
"webgl_extension{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/webgl/extensions/\1_\2/\">\1_\2</a>" \
"fn_vk{1}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vk\1.html\">vk\1()</a>" \
"type_vk{1}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\1.html\">Vk\1</a>" \
"def_vk{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\2.html\">VK_\1</a>" \
"val_vk{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/Vk\2.html\">VK_\1</a>" \
"def_vk{1}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_\1.html\">VK_\1</a>" \
"requires_vk_extension=@xrefitem requires-vk-extension \"Requires Vulkan extension\" \"Functionality requiring specific Vulkan extension\"" \
"vk_extension{2}=@m_class{m-doc-external} <a href=\"https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_\1_\2.html\">\1_\2</a>" \
"fn_al{1}=@m_class{m-doc-external} <a href=\"https://github.com/kcat/openal-soft/wiki/Programmer's-Guide#al\1\">al\1()</a>" \
@ -87,7 +88,8 @@ ALIASES = \
"def_gl_extension_keyword{3}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"GL_\1_\2\" />@endxmlonly @def_gl_extension{\1,\2,\3}" \
"fn_vk_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"vk\1()\" />@endxmlonly @fn_vk{\1}" \
"type_vk_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"Vk\1\" />@endxmlonly @type_vk{\1}" \
"def_vk_keyword{2}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"VK_\1\" />@endxmlonly @def_vk{\1,\2}" \
"val_vk_keyword{2}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"VK_\1\" />@endxmlonly @val_vk{\1,\2}" \
"def_vk_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"VK_\1\" />@endxmlonly @def_vk{\1}" \
"fn_al_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"al\1()\" />@endxmlonly @fn_al{\1}" \
"fn_alc_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"alc\1()\" />@endxmlonly @fn_alc{\1}" \
"def_al_keyword{1}=@xmlonly<mcss:search xmlns:mcss=\"http://mcss.mosra.cz/doxygen/\" mcss:keywords=\"AL_\1\" />@endxmlonly @def_al{\1}" \

6
doc/coding-style.dox

@ -193,7 +193,8 @@ specification, with function name as link text:
@fn_gl_extension{LabelObject,EXT,debug_label}
</blockquote>
For Vulkan, the commands are @c \@fn_vk, @c \@type_vk and @c \@def_vk. Example:
For Vulkan, the commands are @c \@fn_vk, @c \@type_vk, @c \@val_vk and
@c \@def_vk. Example:
@snippet coding-style.h fn_vk
@ -202,7 +203,8 @@ Produces:
<blockquote>
- @fn_vk{CreateInstance}
- @type_vk{InstanceCreateInfo}
- @def_vk{STRUCTURE_TYPE_INSTANCE_CREATE_INFO,StructureType}
- @val_vk{STRUCTURE_TYPE_INSTANCE_CREATE_INFO,StructureType}
- @def_vk{VERSION_MINOR}
</blockquote>
For OpenAL, the commands are @c \@fn_al, @c \@fn_alc, @c \@def_al and

3
doc/snippets/coding-style.h

@ -52,7 +52,8 @@ static void setSeamless(bool enabled) {
/**
- @fn_vk{CreateInstance}
- @type_vk{InstanceCreateInfo}
- @def_vk{STRUCTURE_TYPE_INSTANCE_CREATE_INFO,StructureType}
- @val_vk{STRUCTURE_TYPE_INSTANCE_CREATE_INFO,StructureType}
- @def_vk{VERSION_MINOR}
*/
/* [fn_vk] */

18
src/Magnum/Mesh.h

@ -65,7 +65,7 @@ enum class MeshPrimitive: UnsignedInt {
* Single points.
*
* Corresponds to @ref GL::MeshPrimitive::Points;
* @def_vk_keyword{PRIMITIVE_TOPOLOGY_POINT_LIST,PrimitiveTopology};
* @val_vk_keyword{PRIMITIVE_TOPOLOGY_POINT_LIST,PrimitiveTopology};
* @m_class{m-doc-external} [D3D_PRIMITIVE_TOPOLOGY_POINTLIST](https://docs.microsoft.com/en-us/windows/win32/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology)
* or @m_class{m-doc-external} [MTLPrimitiveTypePoint](https://developer.apple.com/documentation/metal/mtlprimitivetype/mtlprimitivetypepoint?language=objc).
* @m_keywords{D3D_PRIMITIVE_TOPOLOGY_POINTLIST MTLPrimitiveTypePoint}
@ -77,7 +77,7 @@ enum class MeshPrimitive: UnsignedInt {
* connected together.
*
* Corresponds to @ref GL::MeshPrimitive::Lines /
* @def_vk_keyword{PRIMITIVE_TOPOLOGY_LINE_LIST,PrimitiveTopology};
* @val_vk_keyword{PRIMITIVE_TOPOLOGY_LINE_LIST,PrimitiveTopology};
* @m_class{m-doc-external} [D3D_PRIMITIVE_TOPOLOGY_LINELIST](https://docs.microsoft.com/en-us/windows/win32/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology)
* or @m_class{m-doc-external} [MTLPrimitiveTypeLine](https://developer.apple.com/documentation/metal/mtlprimitivetype/mtlprimitivetypeline?language=objc).
* @m_keywords{D3D_PRIMITIVE_TOPOLOGY_LINELIST MTLPrimitiveTypeLine}
@ -98,7 +98,7 @@ enum class MeshPrimitive: UnsignedInt {
* vertex defines another segment.
*
* Corresponds to @ref GL::MeshPrimitive::LineStrip /
* @def_vk_keyword{PRIMITIVE_TOPOLOGY_LINE_STRIP,PrimitiveTopology};
* @val_vk_keyword{PRIMITIVE_TOPOLOGY_LINE_STRIP,PrimitiveTopology};
* @m_class{m-doc-external} [D3D_PRIMITIVE_TOPOLOGY_LINESTRIP](https://docs.microsoft.com/en-us/windows/win32/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology)
* or @m_class{m-doc-external} [MTLPrimitiveTypeLineStrip](https://developer.apple.com/documentation/metal/mtlprimitivetype/mtlprimitivetypelinestrip?language=objc).
* @m_keywords{D3D_PRIMITIVE_TOPOLOGY_LINESTRIP MTLPrimitiveTypeLineStrip}
@ -110,7 +110,7 @@ enum class MeshPrimitive: UnsignedInt {
* Each three vertices define one triangle.
*
* Corresponds to @ref GL::MeshPrimitive::Triangles /
* @def_vk_keyword{PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,PrimitiveTopology};
* @val_vk_keyword{PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,PrimitiveTopology};
* @m_class{m-doc-external} [D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST](https://docs.microsoft.com/en-us/windows/win32/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology)
* or @m_class{m-doc-external} [MTLPrimitiveTypeTriangle](https://developer.apple.com/documentation/metal/mtlprimitivetype/mtlprimitivetypetriangle?language=objc).
* @m_keywords{D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST MTLPrimitiveTypeTriangle}
@ -122,7 +122,7 @@ enum class MeshPrimitive: UnsignedInt {
* vertex defines another triangle.
*
* Corresponds to @ref GL::MeshPrimitive::TriangleStrip /
* @def_vk_keyword{PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,PrimitiveTopology} or
* @val_vk_keyword{PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,PrimitiveTopology} or
* @m_class{m-doc-external} [D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP](https://docs.microsoft.com/en-us/windows/win32/api/d3dcommon/ne-d3dcommon-d3d_primitive_topology)
* or @m_class{m-doc-external} [MTLPrimitiveTypeTriangleStrip](https://developer.apple.com/documentation/metal/mtlprimitivetype/mtlprimitivetypetrianglestrip?language=objc).
* @m_keywords{D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP MTLPrimitiveTypeTriangleStrip}
@ -135,7 +135,7 @@ enum class MeshPrimitive: UnsignedInt {
* previous and center vertex.
*
* Corresponds to @ref GL::MeshPrimitive::TriangleFan /
* @def_vk_keyword{PRIMITIVE_TOPOLOGY_TRIANGLE_FAN,PrimitiveTopology}. Not
* @val_vk_keyword{PRIMITIVE_TOPOLOGY_TRIANGLE_FAN,PrimitiveTopology}. Not
* supported on D3D or Metal.
* @see @ref MeshTools::generateTriangleFanIndices()
*/
@ -250,7 +250,7 @@ enum class MeshIndexType: UnsignedByte {
* Unsigned byte
*
* Corresponds to @ref GL::MeshIndexType::UnsignedByte /
* @def_vk_keyword{INDEX_TYPE_UINT8_EXT,IndexType}. Note that using this
* @val_vk_keyword{INDEX_TYPE_UINT8_EXT,IndexType}. Note that using this
* type is discouraged, at least AMD GPUs are known to suggest (via debug
* output) using 16-byte types instead for better efficiency.
*/
@ -260,7 +260,7 @@ enum class MeshIndexType: UnsignedByte {
* Unsigned short
*
* Corresponds to @ref GL::MeshIndexType::UnsignedShort /
* @def_vk_keyword{INDEX_TYPE_UINT16,IndexType}.
* @val_vk_keyword{INDEX_TYPE_UINT16,IndexType}.
*/
UnsignedShort,
@ -268,7 +268,7 @@ enum class MeshIndexType: UnsignedByte {
* Unsigned int
*
* Corresponds to @ref GL::MeshIndexType::UnsignedInt /
* @def_vk_keyword{INDEX_TYPE_UINT32,IndexType}.
* @val_vk_keyword{INDEX_TYPE_UINT32,IndexType}.
*/
UnsignedInt
};

316
src/Magnum/PixelFormat.h

File diff suppressed because it is too large Load Diff

18
src/Magnum/Sampler.h

@ -55,7 +55,7 @@ enum class SamplerFilter: UnsignedInt {
* Nearest neighbor filtering.
*
* Corresponds to @ref GL::SamplerFilter::Nearest /
* @def_vk_keyword{FILTER_NEAREST,Filter}.
* @val_vk_keyword{FILTER_NEAREST,Filter}.
*/
Nearest = 0,
@ -63,7 +63,7 @@ enum class SamplerFilter: UnsignedInt {
* Linear interpolation filtering.
*
* Corresponds to @ref GL::SamplerFilter::Linear /
* @def_vk_keyword{FILTER_LINEAR,Filter}.
* @val_vk_keyword{FILTER_LINEAR,Filter}.
*/
Linear
};
@ -90,7 +90,7 @@ enum class SamplerMipmap: UnsignedInt {
*
* Corresponds to @ref GL::SamplerMipmap::Base. On Vulkan, the
* corresponding mode is
* @def_vk_keyword{SAMPLER_MIPMAP_MODE_NEAREST,SamplerMipmapMode} and you
* @val_vk_keyword{SAMPLER_MIPMAP_MODE_NEAREST,SamplerMipmapMode} and you
* have to configure the sampler to use just a single mipmap level.
*/
Base = 0,
@ -99,7 +99,7 @@ enum class SamplerMipmap: UnsignedInt {
* Select nearest mip level.
*
* Corresponds to @ref GL::SamplerMipmap::Nearest /
* @def_vk_keyword{SAMPLER_MIPMAP_MODE_NEAREST,SamplerMipmapMode}.
* @val_vk_keyword{SAMPLER_MIPMAP_MODE_NEAREST,SamplerMipmapMode}.
*/
Nearest,
@ -107,7 +107,7 @@ enum class SamplerMipmap: UnsignedInt {
* Linear interpolation of nearest mip levels.
*
* Corresponds to @ref GL::SamplerMipmap::Linear /
* @def_vk_keyword{SAMPLER_MIPMAP_MODE_LINEAR,SamplerMipmapMode}.
* @val_vk_keyword{SAMPLER_MIPMAP_MODE_LINEAR,SamplerMipmapMode}.
*/
Linear
};
@ -135,7 +135,7 @@ enum class SamplerWrapping: UnsignedInt {
* Repeat texture.
*
* Corresponds to @ref GL::SamplerWrapping::Repeat /
* @def_vk_keyword{SAMPLER_ADDRESS_MODE_REPEAT,SamplerAddressMode}.
* @val_vk_keyword{SAMPLER_ADDRESS_MODE_REPEAT,SamplerAddressMode}.
*/
Repeat = 0,
@ -143,7 +143,7 @@ enum class SamplerWrapping: UnsignedInt {
* Repeat mirrored texture.
*
* Corresponds to @ref GL::SamplerWrapping::MirroredRepeat /
* @def_vk_keyword{SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT,SamplerAddressMode}.
* @val_vk_keyword{SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT,SamplerAddressMode}.
*/
MirroredRepeat,
@ -152,7 +152,7 @@ enum class SamplerWrapping: UnsignedInt {
* first / last column / row in given direction.
*
* Corresponds to @ref GL::SamplerWrapping::ClampToEdge /
* @def_vk_keyword{SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,SamplerAddressMode}.
* @val_vk_keyword{SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,SamplerAddressMode}.
*/
ClampToEdge,
@ -161,7 +161,7 @@ enum class SamplerWrapping: UnsignedInt {
* to border color.
*
* Corresponds to @ref GL::SamplerWrapping::ClampToBorder /
* @def_vk_keyword{SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,SamplerAddressMode}.
* @val_vk_keyword{SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,SamplerAddressMode}.
*/
ClampToBorder,

104
src/Magnum/VertexFormat.h

@ -76,7 +76,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Float;
* @def_vk_keyword{FORMAT_R32_SFLOAT,Format};
* @val_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} [MTLVertexFormatFloat](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat?language=objc).
* @m_keywords{DXGI_FORMAT_R32_FLOAT MTLVertexFormatFloat}
@ -88,7 +88,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Half;
* @def_vk_keyword{FORMAT_R16_SFLOAT,Format};
* @val_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} [MTLVertexFormatHalf](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf?language=objc).
* @m_keywords{DXGI_FORMAT_R16_FLOAT MTLVertexFormatHalf}
@ -101,7 +101,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Long
* @ref GL::DynamicAttribute::DataType::Double;
* @def_vk_keyword{FORMAT_R64_SFLOAT,Format}. No D3D or Metal equivalent.
* @val_vk_keyword{FORMAT_R64_SFLOAT,Format}. No D3D or Metal equivalent.
*/
Double,
@ -111,7 +111,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8_UINT,Format};
* @val_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} [MTLVertexFormatUChar](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar?language=objc)
* @m_keywords{DXGI_FORMAT_R8_UINT MTLVertexFormatUChar}
@ -125,7 +125,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8_UNORM,Format};
* @val_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} [MTLVertexFormatUCharNormalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatucharnormalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8_UNORM MTLVertexFormatUCharNormalized}
@ -138,7 +138,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8_SINT,Format};
* @val_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} [MTLVertexFormatChar](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar?language=objc).
* @m_keywords{DXGI_FORMAT_R8_SINT MTLVertexFormatChar}
@ -152,7 +152,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8_SNORM,Format};
* @val_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} [MTLVertexFormatCharNormalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatcharnormalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8_SNORM MTLVertexFormatCharNormalized}
@ -165,7 +165,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedShort;
* @def_vk_keyword{FORMAT_R16_UINT,Format};
* @val_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} [MTLVertexFormatUShort](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort?language=objc).
* @m_keywords{DXGI_FORMAT_R16_UINT MTLVertexFormatUShort}
@ -179,7 +179,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R16_UNORM,Format};
* @val_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} [MTLVertexFormatUShortNormalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushortnormalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16_UNORM MTLVertexFormatUShortNormalized}
@ -192,7 +192,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16_SINT,Format};
* @val_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} [MTLVertexFormatShort](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort?language=objc).
* @m_keywords{DXGI_FORMAT_R16_SINT MTLVertexFormatShort}
@ -206,7 +206,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16_SNORM,Format};
* @val_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} [MTLVertexFormatShortNormalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshortnormalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16_SNORM MTLVertexFormatShortNormalized}
@ -219,7 +219,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedInt;
* @def_vk_keyword{FORMAT_R32_UINT,Format};
* @val_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} [MTLVertexFormatUInt](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuint?language=objc).
* @m_keywords{DXGI_FORMAT_R32_UINT MTLVertexFormatUInt}
@ -232,7 +232,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to single-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Int;
* @def_vk_keyword{FORMAT_R32_SINT,Format};
* @val_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} [MTLVertexFormatInt](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatint?language=objc).
* @m_keywords{DXGI_FORMAT_R32_SINT MTLVertexFormatInt}
@ -244,7 +244,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Float;
* @def_vk_keyword{FORMAT_R32G32_SFLOAT,Format};
* @val_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} [MTLVertexFormatFloat2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat2?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32_FLOAT MTLVertexFormatFloat2}
@ -257,7 +257,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Half;
* @def_vk_keyword{FORMAT_R16G16_SFLOAT,Format};
* @val_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} [MTLVertexFormatHalf2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf2?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16_FLOAT MTLVertexFormatHalf2}
@ -270,7 +270,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Long
* @ref GL::DynamicAttribute::DataType::Double;
* @def_vk_keyword{FORMAT_R64G64_SFLOAT,Format}. No D3D or Metal
* @val_vk_keyword{FORMAT_R64G64_SFLOAT,Format}. No D3D or Metal
* equivalent.
*/
Vector2d,
@ -283,7 +283,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8G8_UINT,Format};
* @val_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} [MTLVertexFormatUChar2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar2?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8_UINT MTLVertexFormatUChar2}
@ -298,7 +298,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8G8_UNORM,Format};
* @val_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} [MTLVertexFormatUChar2Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar2normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8_UNORM MTLVertexFormatUChar2Normalized}
@ -313,7 +313,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8G8_SINT,Format};
* @val_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} [MTLVertexFormatChar2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar2?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8_SINT MTLVertexFormatChar2}
@ -328,7 +328,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8G8_SNORM,Format};
* @val_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} [MTLVertexFormatChar2Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar2normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8_SNORM MTLVertexFormatChar2Normalized}
@ -343,7 +343,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedShort;
* @def_vk_keyword{FORMAT_R16G16_UINT,Format};
* @val_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} [MTLVertexFormatUShort2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort2?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16_UINT MTLVertexFormatUShort2}
@ -358,7 +358,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R16G16_UNORM,Format};
* @val_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} [MTLVertexFormatUShort2Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort2normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16_UNORM MTLVertexFormatUShort2Normalized}
@ -373,7 +373,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16G16_SINT,Format};
* @val_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} [MTLVertexFormatShort2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort2?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16_SINT MTLVertexFormatShort2}
@ -388,7 +388,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16G16_SNORM,Format};
* @val_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} [MTLVertexFormatShort2Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort2normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16_SNORM MTLVertexFormatShort2Normalized}
@ -401,7 +401,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedInt;
* @def_vk_keyword{FORMAT_R32G32_UINT,Format};
* @val_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} [MTLVertexFormatUInt2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuint2?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32_UINT MTLVertexFormatUInt2}
@ -414,7 +414,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to two-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Int;
* @def_vk_keyword{FORMAT_R32G32_SINT,Format};
* @val_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} [MTLVertexFormatInt2](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatint2?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32_SINT MTLVertexFormatInt2}
@ -427,7 +427,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Float;
* @def_vk_keyword{FORMAT_R32G32B32_SFLOAT,Format};
* @val_vk_keyword{FORMAT_R32G32B32_SFLOAT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatFloat3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat3?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32B32_FLOAT MTLVertexFormatFloat3}
@ -441,7 +441,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Half;
* @def_vk_keyword{FORMAT_R16G16B16_SFLOAT,Format};
* @val_vk_keyword{FORMAT_R16G16B16_SFLOAT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16_FLOAT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatHalf3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf3?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16_FLOAT MTLVertexFormatHalf3}
@ -454,7 +454,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Long
* @ref GL::DynamicAttribute::DataType::Double;
* @def_vk_keyword{FORMAT_R64G64B64_SFLOAT,Format}. No D3D or Metal
* @val_vk_keyword{FORMAT_R64G64B64_SFLOAT,Format}. No D3D or Metal
* equivalent.
*/
Vector3d,
@ -467,7 +467,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8G8B8_UINT,Format};
* @val_vk_keyword{FORMAT_R8G8B8_UINT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatUChar3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar3?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8_UINT MTLVertexFormatUChar3}
@ -482,7 +482,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8G8B8_UNORM,Format};
* @val_vk_keyword{FORMAT_R8G8B8_UNORM,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatUChar3Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar3normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8_UNORM MTLVertexFormatUChar3Normalized}
@ -497,7 +497,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8G8B8_SINT,Format};
* @val_vk_keyword{FORMAT_R8G8B8_SINT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatChar3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar3?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8_SINT MTLVertexFormatChar3}
@ -512,7 +512,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8G8B8_SNORM,Format};
* @val_vk_keyword{FORMAT_R8G8B8_SNORM,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R8G8B8_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatChar3Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar3normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8_SNORM MTLVertexFormatChar3Normalized}
@ -527,7 +527,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedShort;
* @def_vk_keyword{FORMAT_R16G16B16_UINT,Format};
* @val_vk_keyword{FORMAT_R16G16B16_UINT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatUShort3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort3?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16_UINT MTLVertexFormatUShort3}
@ -543,7 +543,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R16G16B16_UNORM,Format};
* @val_vk_keyword{FORMAT_R16G16B16_UNORM,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16_UNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatUShort3Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort3normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16_UNORM MTLVertexFormatUShort3Normalized}
@ -558,7 +558,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16G16B16_SINT,Format};
* @val_vk_keyword{FORMAT_R16G16B16_SINT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatShort3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort3?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16_SINT MTLVertexFormatShort3}
@ -573,7 +573,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16G16B16_SNORM,Format};
* @val_vk_keyword{FORMAT_R16G16B16_SNORM,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R16G16B16_SNORM](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatShort3Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort3normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16_SNORM MTLVertexFormatShort3Normalized}
@ -586,7 +586,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedInt;
* @def_vk_keyword{FORMAT_R32G32B32_UINT,Format};
* @val_vk_keyword{FORMAT_R32G32B32_UINT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32_UINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatUInt3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuint3?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32B32_UINT MTLVertexFormatUInt3}
@ -599,7 +599,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to three-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Int;
* @def_vk_keyword{FORMAT_R32G32B32_SINT,Format};
* @val_vk_keyword{FORMAT_R32G32B32_SINT,Format};
* @m_class{m-doc-external} [DXGI_FORMAT_R32G32B32_SINT](https://docs.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format)
* or @m_class{m-doc-external} [MTLVertexFormatInt3](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatint3?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32B32_SINT MTLVertexFormatInt3}
@ -611,7 +611,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Float;
* @def_vk_keyword{FORMAT_R32G32B32A32_SFLOAT,Format};
* @val_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} [MTLVertexFormatFloat4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat4?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32B32A32_FLOAT MTLVertexFormatFloat4}
@ -624,7 +624,7 @@ enum class VertexFormat: UnsignedInt {
*
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* @ref GL::DynamicAttribute::DataType::Half;
* @def_vk_keyword{FORMAT_R16G16B16A16_SFLOAT,Format};
* @val_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} [MTLVertexFormatHalf4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf4?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16A16_FLOAT MTLVertexFormatHalf4}
@ -637,7 +637,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Long
* @ref GL::DynamicAttribute::DataType::Double;
* @def_vk_keyword{FORMAT_R64G64B64A64_SFLOAT,Format}. No D3D or Metal
* @val_vk_keyword{FORMAT_R64G64B64A64_SFLOAT,Format}. No D3D or Metal
* equivalent.
*/
Vector4d,
@ -648,7 +648,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8G8B8A8_UINT,Format};
* @val_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} [MTLVertexFormatUChar4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar4?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8A8_UINT MTLVertexFormatUChar4}
@ -663,7 +663,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R8G8B8A8_UNORM,Format};
* @val_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} [MTLVertexFormatUChar4Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar4normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8A8_UNORM MTLVertexFormatUChar4Normalized}
@ -676,7 +676,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8G8B8A8_SINT,Format};
* @val_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} [MTLVertexFormatChar4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar4?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8A8_SINT MTLVertexFormatChar4}
@ -690,7 +690,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Byte;
* @def_vk_keyword{FORMAT_R8G8B8A8_SNORM,Format};
* @val_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} [MTLVertexFormatChar4Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar4normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R8G8B8A8_SNORM MTLVertexFormatChar4Normalized}
@ -703,7 +703,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedShort;
* @def_vk_keyword{FORMAT_R16G16B16A16_UINT,Format};
* @val_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} [MTLVertexFormatUShort4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort4?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16A16_UINT MTLVertexFormatUShort4}
@ -718,7 +718,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::UnsignedByte;
* @def_vk_keyword{FORMAT_R16G16B16A16_UNORM,Format};
* @val_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} [MTLVertexFormatUShort4Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort4normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16A16_UNORM MTLVertexFormatUShort4Normalized}
@ -731,7 +731,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16G16B16A16_SINT,Format};
* @val_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} [MTLVertexFormatShort4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort4?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16A16_SINT MTLVertexFormatShort4}
@ -745,7 +745,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component
* @ref GL::DynamicAttribute::Kind::GenericNormalized
* @ref GL::DynamicAttribute::DataType::Short;
* @def_vk_keyword{FORMAT_R16G16B16A16_SNORM,Format};
* @val_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} [MTLVertexFormatShort4Normalized](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort4normalized?language=objc).
* @m_keywords{DXGI_FORMAT_R16G16B16A16_SNORM MTLVertexFormatShort4Normalized}
@ -758,7 +758,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::UnsignedInt;
* @def_vk_keyword{FORMAT_R32G32B32A16_UINT,Format};
* @val_vk_keyword{FORMAT_R32G32B32A16_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} [MTLVertexFormatUInt4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuint4?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32B32A32_UINT MTLVertexFormatUInt4}
@ -771,7 +771,7 @@ enum class VertexFormat: UnsignedInt {
* Corresponds to four-component @ref GL::DynamicAttribute::Kind::Generic
* or @ref GL::DynamicAttribute::Kind::Integral
* @ref GL::DynamicAttribute::DataType::Int;
* @def_vk_keyword{FORMAT_R32G32B32A32_SINT,Format};
* @val_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} [MTLVertexFormatInt4](https://developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatint4?language=objc).
* @m_keywords{DXGI_FORMAT_R32G32B32A32_SINT MTLVertexFormatInt4}

2
src/Magnum/Vk/Enums.h

@ -200,7 +200,7 @@ MAGNUM_VK_EXPORT VkFilter vkFilter(Magnum::SamplerFilter filter);
@brief Convert generic sampler mipomap mode to Vulkan sampler mipmap mode
Vulkan doesn't support the @ref SamplerMipmap::Base value directly, instead
@def_vk{SAMPLER_MIPMAP_MODE_NEAREST,SamplerMipmapMode} is used and you have to
@val_vk{SAMPLER_MIPMAP_MODE_NEAREST,SamplerMipmapMode} is used and you have to
configure the sampler to use just a single mipmap level.
@see @ref vkFilter(), @ref vkSamplerAddressMode()
*/

Loading…
Cancel
Save