<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKMatrix2",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@T@GLKMatrix2"
  },
  "title" : "GLKMatrix2"
}
-->

# GLKMatrix2

A `2x2` matrix.

```
typealias GLKMatrix2 = _GLKMatrix2
```

## Discussion

### Fields

|Name |Description                                                            |
|-----|-----------------------------------------------------------------------|
|`m`  |A one-dimensional array of the matrix’s elements in column-major order.|
|`m00`|The `[0,0]` element of the matrix.                                     |
|`m10`|The `[1,0]` element of the matrix.                                     |
|`m11`|The `[1,1]` element of the matrix.                                     |
|`m2` |A two-dimensional array of the matrix’s elements in column-major order.|

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)