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

# `mat2x4`

Type

2x4 matrix of `f32`, column-major: 2 columns of `vec4`.

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

## Syntax

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

## See also

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