---
title: "ALL_STORAGE_TEXTURE_FORMATS: constant in Types, TypeShade"
description: "ALL_STORAGE_TEXTURE_FORMATS, a constant in Types. Every StorageTextureFormat, as a runtime value…"
url: https://typeshade.dev/api/allstoragetextureformats/
language: en
---

# `ALL_STORAGE_TEXTURE_FORMATS`

Constant in Types

Every StorageTextureFormat, as a runtime value: the list a front end validates a written name against and a doc generator iterates.

`import { ALL_STORAGE_TEXTURE_FORMATS } from 'typeshade'`
`import { ALL_STORAGE_TEXTURE_FORMATS } from 'typeshade/core/ir'`

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

## Syntax

```ts
const ALL_STORAGE_TEXTURE_FORMATS: readonly ["rgba8unorm", "rgba8snorm", "rgba8uint", "rgba8sint", "rgba16uint", "rgba16sint", "rgba16float", "r32uint", "r32sint", "r32float", "rg32uint", "rg32sint", "rg32float", "rgba32uint", "rgba32sint", "rgba32float", "bgra8unorm"]
```

## Description

A union type has no runtime form, so the list is written out and `satisfies` keeps it in step.

## See also

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

## Source

[`src/core/ir/types/storage-texture.ts`, line 56](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/storage-texture.ts#L56), at commit af54ddad5
