---
title: MDLTextureChannelEncoding
framework: modelio
role: symbol
role_heading: Enumeration
path: modelio/mdltexturechannelencoding
---

# MDLTextureChannelEncoding

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

## Declaration

```swift
enum MDLTextureChannelEncoding
```

## Topics

### Constants

- [MDLTextureChannelEncoding.uInt8](modelio/mdltexturechannelencoding/uint8-swift.enum.case.md)
- [MDLTextureChannelEncoding.uInt16](modelio/mdltexturechannelencoding/uint16-swift.enum.case.md)
- [MDLTextureChannelEncoding.uInt24](modelio/mdltexturechannelencoding/uint24-swift.enum.case.md)
- [MDLTextureChannelEncoding.uInt32](modelio/mdltexturechannelencoding/uint32-swift.enum.case.md)
- [MDLTextureChannelEncoding.float16](modelio/mdltexturechannelencoding/float16.md)
- [MDLTextureChannelEncoding.float32](modelio/mdltexturechannelencoding/float32.md)

### Enumeration Cases

- [MDLTextureChannelEncoding.float16SR](modelio/mdltexturechannelencoding/float16sr.md)

### Initializers

- [init(rawValue:)](modelio/mdltexturechannelencoding/init(rawvalue:).md)

### Type Properties

- [uint16](modelio/mdltexturechannelencoding/uint16-swift.type.property.md)
- [uint24](modelio/mdltexturechannelencoding/uint24-swift.type.property.md)
- [uint32](modelio/mdltexturechannelencoding/uint32-swift.type.property.md)
- [uint8](modelio/mdltexturechannelencoding/uint8-swift.type.property.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
