---
title: "mat3x3 in WGSL, GLSL and TypeShade: shader type reference"
description: "mat3x3 is mat3x3<f32> in WGSL and mat3 in GLSL ES 3.00. 3x3 matrix of f32 (or f64 as mat3x3<f64>), column-major."
url: https://typeshade.dev/reference/types/mat3x3/
language: en
---

# `mat3x3`

Type

3x3 matrix of `f32` (or `f64` as `mat3x3<f64>`), column-major.

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

## Syntax

```ts
type mat3x3<T extends f32 | f64 = f32> = Mat<typeof f64Tag extends keyof T ? 'f64' : 'f32', 3, 3>
```

## Parameters

- `T` optional `f32 | f64`

## See also

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