Class MPSImageFeatureChannelFormat
- java.lang.Object
-
- apple.metalperformanceshaders.enums.MPSImageFeatureChannelFormat
-
public final class MPSImageFeatureChannelFormat extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static long_reserved0Reserved for later expansionstatic longCountAlways laststatic longFloat16IEEE-754 16-bit floating-point value.static longFloat32IEEE-754 32-bit floating-point value.static longNoneNo format.static longUnorm16uint16_t with value [0,65535] encoding [0,1.0]static longUnorm8uint8_t with value [0,255] encoding [0,1.0]
-
-
-
Field Detail
-
Unorm8
public static final long Unorm8
uint8_t with value [0,255] encoding [0,1.0]- See Also:
- Constant Field Values
-
Unorm16
public static final long Unorm16
uint16_t with value [0,65535] encoding [0,1.0]- See Also:
- Constant Field Values
-
Float16
public static final long Float16
IEEE-754 16-bit floating-point value. "half precision" Representable normal range is +-[2**-14, 65504], 0, Infinity, NaN. 11 bits of precision + exponent.- See Also:
- Constant Field Values
-
Float32
public static final long Float32
IEEE-754 32-bit floating-point value. "single precision" (standard float type in C) 24 bits of precision + exponent- See Also:
- Constant Field Values
-
None
public static final long None
No format. This can mean according to context invalid format or any format. In the latter case, it is an invitation to MPS to pick a format.- See Also:
- Constant Field Values
-
_reserved0
public static final long _reserved0
Reserved for later expansion- See Also:
- Constant Field Values
-
Count
public static final long Count
Always last- See Also:
- Constant Field Values
-
-