Enumeration

MDLTextureChannelEncoding

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

Declaration

enum MDLTextureChannelEncoding : Int

Topics

Constants

case uInt8

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

case uInt16

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

case uInt24

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

case uInt32

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

case float16

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

case float32

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

Enumeration Cases

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