MTLVertexFormat Enum
Definition
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
Fields
Char | 46 | Indicates a single signed 8-bit character. |
Char2 | 4 | |
Char2Normalized | 10 | |
Char3 | 5 | |
Char3Normalized | 11 | |
Char4 | 6 | |
Char4Normalized | 12 | |
CharNormalized | 48 | Indicates a single normalized signed 8-bit character. |
Float | 28 | |
Float2 | 29 | |
Float3 | 30 | |
Float4 | 31 | |
Half | 53 | Indicates a single half-precision floating point value. |
Half2 | 25 | |
Half3 | 26 | |
Half4 | 27 | |
Int | 32 | |
Int1010102Normalized | 40 | |
Int2 | 33 | |
Int3 | 34 | |
Int4 | 35 | |
Invalid | 0 | |
Short | 50 | Indicates a single signed 16-bit two's complement value. |
Short2 | 16 | |
Short2Normalized | 22 | |
Short3 | 17 | |
Short3Normalized | 23 | |
Short4 | 18 | |
Short4Normalized | 24 | |
ShortNormalized | 52 | Indicates a single normalized signed 16-bit two's complement value |
UChar | 45 | Indicates a single unsigned 8-bit character. |
UChar2 | 1 | |
UChar2Normalized | 7 | |
UChar3 | 2 | |
UChar3Normalized | 8 | |
UChar4 | 3 | |
UChar4Normalized | 9 | |
UChar4NormalizedBgra | 42 | Indicates four unsigned 8-bit characters that describe BGRA channels. |
UCharNormalized | 47 | Indicates a single unsigned 8-bit character. |
UInt | 36 | |
UInt1010102Normalized | 41 | |
UInt2 | 37 | |
UInt3 | 38 | |
UInt4 | 39 | |
UShort | 49 | Indicates a single unsigned 16-bit two's complement value. |
UShort2 | 13 | |
UShort2Normalized | 19 | |
UShort3 | 14 | |
UShort3Normalized | 20 | |
UShort4 | 15 | |
UShort4Normalized | 21 | |
UShortNormalized | 51 | ndicates a single normalized unsigned 16-bit two's complement value. |