---
title: MTLMatrixLayout
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtlmatrixlayout
---

# MTLMatrixLayout

## Declaration

```swift
enum MTLMatrixLayout
```

## Topics

### Enumeration Cases

- [MTLMatrixLayout.columnMajor](metal/mtlmatrixlayout/columnmajor.md)
- [MTLMatrixLayout.rowMajor](metal/mtlmatrixlayout/rowmajor.md)

### Initializers

- [init(rawValue:)](metal/mtlmatrixlayout/init(rawvalue:).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)

## See Also

### Enumerations

- [MTLTensorError.Code](metal/mtltensorerror-swift.struct/code.md)
- [MTLArgumentBuffersTier](metal/mtlargumentbufferstier.md)
- [MTLLogStateError](metal/mtllogstateerror.md)
- [MTLMathFloatingPointFunctions](metal/mtlmathfloatingpointfunctions.md)
- [MTLMathMode](metal/mtlmathmode.md)
- [MTLReadWriteTextureTier](metal/mtlreadwritetexturetier.md)
- [MTLShaderValidation](metal/mtlshadervalidation.md)
- [MTLTransformType](metal/mtltransformtype.md)
