MTLVertexFormat Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates vertex data formats (type and number).
public enum MTLVertexFormat
type MTLVertexFormat =
- Inheritance
-
MTLVertexFormat
Name | Value | Description |
---|---|---|
Invalid | 0 | |
UChar2 | 1 | |
UChar3 | 2 | |
UChar4 | 3 | |
Char2 | 4 | |
Char3 | 5 | |
Char4 | 6 | |
UChar2Normalized | 7 | |
UChar3Normalized | 8 | |
UChar4Normalized | 9 | |
Char2Normalized | 10 | |
Char3Normalized | 11 | |
Char4Normalized | 12 | |
UShort2 | 13 | |
UShort3 | 14 | |
UShort4 | 15 | |
Short2 | 16 | |
Short3 | 17 | |
Short4 | 18 | |
UShort2Normalized | 19 | |
UShort3Normalized | 20 | |
UShort4Normalized | 21 | |
Short2Normalized | 22 | |
Short3Normalized | 23 | |
Short4Normalized | 24 | |
Half2 | 25 | |
Half3 | 26 | |
Half4 | 27 | |
Float | 28 | |
Float2 | 29 | |
Float3 | 30 | |
Float4 | 31 | |
Int | 32 | |
Int2 | 33 | |
Int3 | 34 | |
Int4 | 35 | |
UInt | 36 | |
UInt2 | 37 | |
UInt3 | 38 | |
UInt4 | 39 | |
Int1010102Normalized | 40 | |
UInt1010102Normalized | 41 | |
UChar4NormalizedBgra | 42 | Indicates four unsigned 8-bit characters that describe BGRA channels. |
UChar | 45 | Indicates a single unsigned 8-bit character. |
Char | 46 | Indicates a single signed 8-bit character. |
UCharNormalized | 47 | Indicates a single unsigned 8-bit character. |
CharNormalized | 48 | Indicates a single normalized signed 8-bit character. |
UShort | 49 | Indicates a single unsigned 16-bit two's complement value. |
Short | 50 | Indicates a single signed 16-bit two's complement value. |
UShortNormalized | 51 | ndicates a single normalized unsigned 16-bit two's complement value. |
ShortNormalized | 52 | Indicates a single normalized signed 16-bit two's complement value |
Half | 53 | Indicates a single half-precision floating point value. |
Product | Versions |
---|---|
Xamarin iOS SDK | 12 |