Enumeration

MDLTextureChannelEncoding

Options for the data size and type of texel channel values, used by the channelEncoding property.

Declaration

typedef enum MDLTextureChannelEncoding : NSInteger {
    ...
} MDLTextureChannelEncoding;

Topics

Constants

MDLTextureChannelEncodingUInt8

Each channel value per texel is an 8-bit unsigned integer.

MDLTextureChannelEncodingUInt16

Each channel value per texel is a 16-bit unsigned integer.

MDLTextureChannelEncodingUInt24

Each channel value per texel is a 24-bit unsigned integer.

MDLTextureChannelEncodingUInt32

Each channel value per texel is a 32-bit unsigned integer.

MDLTextureChannelEncodingFloat16

Each channel value per texel is a 16-bit floating-point value.

MDLTextureChannelEncodingFloat32

Each channel value per texel is a 32-bit floating-point value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software