---
title: "mat2x2f: type in Runtime, TypeShade API reference"
description: "mat2x2f, a type in Runtime. WGSL's mat2x2f, the same type as mat2x2. The program runtime that runs compiled programs on WebGPU…"
url: https://typeshade.dev/api/mat2x2f/
language: en
---

# `mat2x2f`

Type in Runtime

WGSL's `mat2x2f`, the same type as `mat2x2`.

`import type { mat2x2f } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
type mat2x2f = mat2x2;
```

## See also

- [`mat2x2`](https://typeshade.dev/api/mat2x2/)

## Source

[`src/runtime/host-types.ts`, line 167](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L167), at commit af54ddad5
