MTLAttributeFormat 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 formats for function attributes.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MTLAttributeFormat
type MTLAttributeFormat =
- Inheritance
-
MTLAttributeFormat
- Attributes
Fields
Char | 46 | Indicates a single signed 8-bit character. |
Char2 | 4 | Indicates two signed 8-bit characters. |
Char2Normalized | 10 | Indicates two normalized signed 8-bit characters. |
Char3 | 5 | Indicates three signed 8-bit characters. |
Char3Normalized | 11 | Indicates three normalized signed 8-bit characters. |
Char4 | 6 | Indicates four signed 8-bit characters. |
Char4Normalized | 12 | Indicates four normalized signed 8-bit characters. |
CharNormalized | 48 | Indicates a single normalized signed 8-bit character. |
Float | 28 | Indicates one single-precision floating point value. |
Float2 | 29 | Indicates two single-precision floating point values. |
Float3 | 30 | Indicates three single-precision floating point values. |
Float4 | 31 | Indicates four single-precision floating point values. |
Half | 53 | Indicates a single half-precision floating point value. |
Half2 | 25 | Indicates two half-precision floating point values. |
Half3 | 26 | Indicates three half-precision floating point values. |
Half4 | 27 | Indicates four half-precision floating point values. |
Int | 32 | Indicates a single signed 32-bit two's complement value. |
Int1010102Normalized | 40 | Indicates a 10-10-10-2 scheme of packed normalized signed integers. |
Int2 | 33 | Indicates two signed 32-bit two's complement values. |
Int3 | 34 | Indicates three signed 32-bit two's complement values. |
Int4 | 35 | Indicates four signed 32-bit two's complement values. |
Invalid | 0 | Indicates an invalid format. |
Short | 50 | Indicates a single signed 16-bit two's complement value. |
Short2 | 16 | Indicates two signed 16-bit two's complement value. |
Short2Normalized | 22 | Indicates two normalized signed 16-bit two's complement values. |
Short3 | 17 | Indicates three signed 16-bit two's complement values. |
Short3Normalized | 23 | Indicates three normalized signed 16-bit two's complement values. |
Short4 | 18 | Indicates four signed 16-bit two's complement values. |
Short4Normalized | 24 | Indicates four normalized signed 16-bit two's complement values. |
ShortNormalized | 52 | Indicates a single normalized signed 16-bit two's complement value. |
UChar | 45 | Indicates a single unsigned 8-bit character. |
UChar2 | 1 | Indicates two unsigned 8-bit characters. |
UChar2Normalized | 7 | Indicates two normalized unsigned 8-bit characters. |
UChar3 | 2 | Indicates three unsigned 8-bit characters. |
UChar3Normalized | 8 | Indicates three normalized unsigned 8-bit characters. |
UChar4 | 3 | Indicates four unsigned 8-bit characters.. |
UChar4Normalized | 9 | Indicates four normalized unsigned 8-bit characters. |
UChar4Normalized_Bgra | 42 | Indicates four unsigned 8-bit characters that describe BGRA channels. |
UCharNormalized | 47 | Indicates a single unsigned 8-bit character. |
UInt | 36 | Indicates a single unsigned 32-bit two's complement value. |
UInt1010102Normalized | 41 | |
UInt2 | 37 | Indicates two unsigned 32-bit two's complement values. |
UInt3 | 38 | Indicates three unsigned 32-bit two's complement values. |
UInt4 | 39 | Indicates four unsigned 32-bit two's complement values. |
UShort | 49 | Indicates a single unsigned 16-bit two's complement value. |
UShort2 | 13 | Indicates two unsigned 16-bit two's complement values. |
UShort2Normalized | 19 | Indicates two normalized unsigned 16-bit two's complement values. |
UShort3 | 14 | Indicates three unsigned 16-bit two's complement values. |
UShort3Normalized | 20 | Indicates three normalized unsigned 16-bit two's complement values. |
UShort4 | 15 | Indicates four unsigned 16-bit two's complement values. |
UShort4Normalized | 21 | Indicates four normalized unsigned 16-bit two's complement values. |
UShortNormalized | 51 | Indicates a single normalized unsigned 16-bit two's complement value. |