---
title: "mat2x2f in WGSL, GLSL and TypeShade: shader type reference"
description: "mat2x2f is mat2x2<f32> in WGSL and mat2 in GLSL ES 3.00. 2x2 matrix of f32, column-major, same type as mat2x2: WGSL's predeclared alias."
url: https://typeshade.dev/reference/types/mat2x2f/
language: en
---

# `mat2x2f`

Type

2x2 matrix of `f32`, column-major, same type as `mat2x2`: WGSL's predeclared alias.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

```ts
type mat2x2f = mat2x2
```

## See also

- [Types](https://typeshade.dev/reference/types/)
