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