@ -48,81 +48,245 @@ attribute type values using @ref vertexFormatWrap() and
implementation - specific types can be done using
@ ref isVertexFormatImplementationSpecific ( ) .
In case of OpenGL , corresponds to a tuple of @ ref GL : : DynamicAttribute : : Kind ,
@ ref GL : : DynamicAttribute : : Components and @ ref GL : : DynamicAttribute : : DataType
and is convertible to them using
@ ref GL : : DynamicAttribute : : DynamicAttribute ( Kind , UnsignedInt , VertexFormat ) .
See documentation of each value for more information about the mapping . Note
that not every format is available on all targets , use
@ ref GL : : hasVertexFormat ( ) to check for its presence .
In case of Vulkan , corresponds to @ type_vk_keyword { Format } and is convertible
to it using @ ref Vk : : vkFormat ( Magnum : : VertexFormat ) . See documentation of each
value for more information about the mapping . Note that not every format may be
available , use @ ref Vk : : hasVkFormat ( Magnum : : VertexFormat ) 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);
for Metal , corresponds to @ m_class { m - doc - external } [ MTLVertexFormat ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat?language=objc).
See documentation of each value for more information about the mapping .
@ see @ ref Trade : : MeshData , @ ref Trade : : MeshAttributeData ,
@ ref Trade : : MeshAttribute
*/
enum class VertexFormat : UnsignedInt {
/* Zero reserved for an invalid type (but not being a named value) */
/** @ref Float */
/**
* @ ref Float .
*
* Corresponds to single - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Float ;
* @ 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 } [ MTLVertexFormatFloat ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat?language=objc).
* @ m_keywords { DXGI_FORMAT_R32_FLOAT MTLVertexFormatFloat }
*/
Float = 1 ,
/** @ref Half */
/**
* @ ref Half .
*
* Corresponds to single - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Half ;
* @ 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 } [ MTLVertexFormatHalf ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf?language=objc).
* @ m_keywords { DXGI_FORMAT_R16_FLOAT MTLVertexFormatHalf }
*/
Half ,
/** @ref Double */
/**
* @ ref Double .
*
* 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 .
*/
Double ,
/** @ref UnsignedByte */
/**
* @ ref UnsignedByte .
*
* 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 } ;
* @ 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 }
*/
UnsignedByte ,
/**
* @ ref UnsignedByte , with range @ f $ [ 0 , 255 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ .
*
* Corresponds to single - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ 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 } [ MTLVertexFormatUCharNormalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatucharnormalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R8_UNORM MTLVertexFormatUCharNormalized }
*/
UnsignedByteNormalized ,
/** @ref Byte */
/**
* @ ref Byte .
*
* 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 } ;
* @ 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 }
*/
Byte ,
/**
* @ ref Byte , with range @ f $ [ - 127 , 127 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ .
*
* Corresponds to single - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Byte ;
* @ 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 } [ MTLVertexFormatCharNormalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatcharnormalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R8_SNORM MTLVertexFormatCharNormalized }
*/
ByteNormalized ,
/** @ref UnsignedShort */
/**
* @ ref UnsignedShort .
*
* 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 } ;
* @ 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 }
*/
UnsignedShort ,
/**
* @ ref UnsignedShort , with range @ f $ [ 0 , 65535 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ .
*
* Corresponds to single - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ 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 } [ MTLVertexFormatUShortNormalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushortnormalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R16_UNORM MTLVertexFormatUShortNormalized }
*/
UnsignedShortNormalized ,
/** @ref Short */
/**
* @ ref Short .
*
* 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 } ;
* @ 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 }
*/
Short ,
/**
* @ ref Short , with range @ f $ [ - 32767 , 32767 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ .
*
* Corresponds to single - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Short ;
* @ 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 } [ MTLVertexFormatShortNormalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshortnormalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R16_SNORM MTLVertexFormatShortNormalized }
*/
ShortNormalized ,
/** @ref UnsignedInt */
/**
* @ ref 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 } ;
* @ 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 }
*/
UnsignedInt ,
/** @ref Int */
/**
* @ ref Int .
*
* 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 } ;
* @ 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 }
*/
Int ,
/**
* @ ref Vector2 . Usually used for 2 D positions and 2 D texture coordinates .
*
* Corresponds to two - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Float ;
* @ 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 } [ MTLVertexFormatFloat2 ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat2?language=objc).
* @ m_keywords { DXGI_FORMAT_R32G32_FLOAT MTLVertexFormatFloat2 }
*/
Vector2 ,
/**
* @ ref Vector2h . Can be used instead of @ ref VertexFormat : : Vector2 for 2 D
* positions and 2 D texture coordinates .
*
* Corresponds to two - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Half ;
* @ 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 } [ MTLVertexFormatHalf2 ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf2?language=objc).
* @ m_keywords { DXGI_FORMAT_R16G16_FLOAT MTLVertexFormatHalf2 }
*/
Vector2h ,
/** @ref Vector2d */
/**
* @ ref Vector2d .
*
* 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
* equivalent .
*/
Vector2d ,
/**
* @ ref Vector2ub . Can be used instead of @ ref VertexFormat : : Vector2 for
* packed 2 D positions and 2 D texture coordinates , in which case the range
* @ f $ [ 0 , 255 ] @ f $ is interpreted as @ f $ [ 0.0 , 255.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector2ub ,
@ -130,6 +294,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2ub , with range @ f $ [ 0 , 255 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector2
* for packed 2 D positions and 2 D texture coordinates .
*
* Corresponds to two - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ 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 } [ MTLVertexFormatUChar2Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar2normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R8G8_UNORM MTLVertexFormatUChar2Normalized }
*/
Vector2ubNormalized ,
@ -137,6 +309,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2b . Can be used instead of @ ref VertexFormat : : Vector2 for
* packed 2 D positions and 2 D texture coordinates , in which case the range
* @ f $ [ - 128 , 127 ] @ f $ is interpreted as @ f $ [ - 128.0 , 127.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector2b ,
@ -144,6 +324,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2b , with range @ f $ [ - 127 , 127 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector2
* for packed 2 D positions and 2 D texture coordinates .
*
* Corresponds to two - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Byte ;
* @ 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 } [ MTLVertexFormatChar2Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar2normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R8G8_SNORM MTLVertexFormatChar2Normalized }
*/
Vector2bNormalized ,
@ -151,6 +339,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2us . Can be used instead of @ ref VertexFormat : : Vector2 for
* packed 2 D positions and 2 D texture coordinates , in which case the range
* @ f $ [ 0 , 65535 ] @ f $ is interpreted as @ f $ [ 0.0 , 65535.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector2us ,
@ -158,6 +354,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2us , with range @ f $ [ 0 , 65535 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector2
* for packed 2 D positions and 2 D texture coordinates .
*
* Corresponds to two - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ 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 } [ MTLVertexFormatUShort2Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort2normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R16G16_UNORM MTLVertexFormatUShort2Normalized }
*/
Vector2usNormalized ,
@ -165,6 +369,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2s . Can be used instead of @ ref VertexFormat : : Vector2 for
* packed 2 D positions and 2 D texture coordinates , in which case the range
* @ f $ [ - 32768 , 32767 ] @ f $ is interpreted as @ f $ [ - 32768.0 , 32767.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector2s ,
@ -172,34 +384,92 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector2s , with range @ f $ [ - 32767 , 32767 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector2
* for packed 2 D positions and 2 D texture coordinates .
*
* Corresponds to two - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Short ;
* @ 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 } [ MTLVertexFormatShort2Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort2normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R16G16_SNORM MTLVertexFormatShort2Normalized }
*/
Vector2sNormalized ,
/** @ref Vector2ui */
/**
* @ ref Vector2ui .
*
* 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 } ;
* @ 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 }
*/
Vector2ui ,
/** @ref Vector2i */
/**
* @ ref Vector2i .
*
* 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 } ;
* @ 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 }
*/
Vector2i ,
/**
* @ ref Vector3 or @ ref Color3 . Usually used for 3 D positions , normals and
* three - component colors .
*
* Corresponds to three - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Float ;
* @ def_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 }
*/
Vector3 ,
/**
* @ ref Vector3h . Can be used instead of @ ref VertexFormat : : Vector3 for
* packed 3 D positions and three - component colors .
*
* Corresponds to three - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Half ;
* @ def_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 }
*/
Vector3h ,
/** @ref Vector3d */
/**
* @ ref Vector3d .
*
* 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
* equivalent .
*/
Vector3d ,
/**
* @ ref Vector3ub . Can be used instead of @ ref VertexFormat : : Vector3 for
* packed 3 D positions , in which case the range @ f $ [ 0 , 255 ] @ f $ is
* interpreted as @ f $ [ 0.0 , 255.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector3ub ,
@ -207,6 +477,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3ub , with range @ f $ [ 0 , 255 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector3
* for packed 3 D positions and three - component colors .
*
* Corresponds to three - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ def_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 }
*/
Vector3ubNormalized ,
@ -214,6 +492,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3b . Can be used instead of @ ref VertexFormat : : Vector3 for
* packed 3 D positions , in which case the range @ f $ [ - 128 , 127 ] @ f $ is
* interpreted as @ f $ [ - 128.0 , 127.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector3b ,
@ -221,6 +507,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3b , with range @ f $ [ - 127 , 127 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ . Can be used instead of
* @ ref VertexFormat : : Vector3 for packed 3 D positions and normals .
*
* Corresponds to three - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Byte ;
* @ def_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 }
*/
Vector3bNormalized ,
@ -228,6 +522,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3us . Can be used instead of @ ref VertexFormat : : Vector3 for
* packed 2 D positions , in which case the range @ f $ [ 0 , 65535 ] @ f $ is
* interpreted as @ f $ [ 0.0 , 65535.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector3us ,
@ -235,6 +537,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3us , with range @ f $ [ 0 , 65535 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector2
* for packed 3 D positions and three - component colors .
*
* Corresponds to three - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ def_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 }
*/
Vector3usNormalized ,
@ -242,6 +552,14 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3s . Can be used instead of @ ref VertexFormat : : Vector3 for
* packed 3 D positions , in which case the range @ f $ [ - 32768 , 32767 ] @ f $ is
* interpreted as @ f $ [ - 32768.0 , 32767.0 ] @ f $ .
*
* 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 } ;
* @ 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 }
*/
Vector3s ,
@ -249,71 +567,213 @@ enum class VertexFormat: UnsignedInt {
* @ ref Vector3s , with range @ f $ [ - 32767 , 32767 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector3
* for packed 3 D positions and normals .
*
* Corresponds to three - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Short ;
* @ def_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 }
*/
Vector3sNormalized ,
/** @ref Vector3ui */
/**
* @ ref Vector3ui .
*
* 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 } ;
* @ 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 }
*/
Vector3ui ,
/** @ref Vector3i */
/**
* @ ref Vector3i .
*
* 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 } ;
* @ 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 }
*/
Vector3i ,
/**
* @ ref Vector4 or @ ref Color4 . Usually used for four - component colors .
*
* Corresponds to four - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Float ;
* @ 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 } [ MTLVertexFormatFloat4 ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatfloat4?language=objc).
* @ m_keywords { DXGI_FORMAT_R32G32B32A32_FLOAT MTLVertexFormatFloat4 }
*/
Vector4 ,
/**
* @ ref Vector4h . Can be used instead of @ ref VertexFormat : : Vector4 for
* four - component colors .
*
* Corresponds to four - component @ ref GL : : DynamicAttribute : : Kind : : Generic
* @ ref GL : : DynamicAttribute : : DataType : : Half ;
* @ 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 } [ MTLVertexFormatHalf4 ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformathalf4?language=objc).
* @ m_keywords { DXGI_FORMAT_R16G16B16A16_FLOAT MTLVertexFormatHalf4 }
*/
Vector4h ,
/** @ref Vector4d */
/**
* @ ref Vector4d .
*
* 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
* equivalent .
*/
Vector4d ,
/** @ref Vector4ub */
/**
* @ ref Vector4ub .
*
* 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 } ;
* @ 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 }
*/
Vector4ub ,
/**
* @ ref Vector4ub , with range @ f $ [ 0 , 255 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector4
* for packed linear four - component colors .
*
* Corresponds to four - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ 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 } [ MTLVertexFormatUChar4Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatuchar4normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R8G8B8A8_UNORM MTLVertexFormatUChar4Normalized }
*/
Vector4ubNormalized ,
/** @ref Vector4b */
/**
* @ ref Vector4b .
*
* 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 } ;
* @ 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 }
*/
Vector4b ,
/**
* @ ref Vector4b , with range @ f $ [ - 127 , 127 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ .
*
* Corresponds to four - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Byte ;
* @ 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 } [ MTLVertexFormatChar4Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatchar4normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R8G8B8A8_SNORM MTLVertexFormatChar4Normalized }
*/
Vector4bNormalized ,
/** @ref Vector4us */
/**
* @ ref Vector4us .
*
* 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 } ;
* @ 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 }
*/
Vector4us ,
/**
* @ ref Vector4us , with range @ f $ [ 0 , 65535 ] @ f $ interpreted as
* @ f $ [ 0.0 , 1.0 ] @ f $ . Can be used instead of @ ref VertexFormat : : Vector4
* for packed linear four - component colors .
*
* Corresponds to four - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : UnsignedByte ;
* @ 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 } [ MTLVertexFormatUShort4Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatushort4normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R16G16B16A16_UNORM MTLVertexFormatUShort4Normalized }
*/
Vector4usNormalized ,
/** @ref Vector4s */
/**
* @ ref Vector4s .
*
* 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 } ;
* @ 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 }
*/
Vector4s ,
/**
* @ ref Vector4s , with range @ f $ [ - 32767 , 32767 ] @ f $ interpreted as
* @ f $ [ - 1.0 , 1.0 ] @ f $ .
*
* Corresponds to four - component
* @ ref GL : : DynamicAttribute : : Kind : : GenericNormalized
* @ ref GL : : DynamicAttribute : : DataType : : Short ;
* @ 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 } [ MTLVertexFormatShort4Normalized ] ( https : //developer.apple.com/documentation/metal/mtlvertexformat/mtlvertexformatshort4normalized?language=objc).
* @ m_keywords { DXGI_FORMAT_R16G16B16A16_SNORM MTLVertexFormatShort4Normalized }
*/
Vector4sNormalized ,
/** @ref Vector4ui */
/**
* @ ref Vector4ui .
*
* 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 } ;
* @ 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 }
*/
Vector4ui ,
/** @ref Vector4i */
/**
* @ ref Vector4i .
*
* 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 } ;
* @ 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 }
*/
Vector4i
} ;