---
title: "mat4x2 in WGSL, GLSL and TypeShade: shader type reference"
description: "mat4x2 is mat4x2<f32> in WGSL and mat4x2 in GLSL ES 3.00. 4x2 matrix of f32, column-major: 4 columns of vec2."
url: https://typeshade.dev/reference/types/mat4x2/
language: en
---

# `mat4x2`

Type

4x2 matrix of `f32`, column-major: 4 columns of `vec2`.

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

## Syntax

```ts
type mat4x2 = Mat<'f32', 4, 2>
```

## See also

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