# TextureFormat

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/TextureFormat.kt+class:androidx.webgpu.TextureFormat) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
class TextureFormat
```

<br />

*** ** * ** ***

An enumeration of all supported texture formats.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x10Unorm() = 96` ASTC compressed 10x10 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x10UnormSrgb() = 97` ASTC compressed 10x10 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x5Unorm() = 90` ASTC compressed 10x5 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x5UnormSrgb() = 91` ASTC compressed 10x5 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x6Unorm() = 92` ASTC compressed 10x6 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x6UnormSrgb() = 93` ASTC compressed 10x6 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x8Unorm() = 94` ASTC compressed 10x8 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC10x8UnormSrgb() = 95` ASTC compressed 10x8 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC12x10Unorm() = 98` ASTC compressed 12x10 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC12x10UnormSrgb() = 99` ASTC compressed 12x10 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC12x12Unorm() = 100` ASTC compressed 12x12 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC12x12UnormSrgb() = 101` ASTC compressed 12x12 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC4x4Unorm() = 74` ASTC compressed 4x4 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC4x4UnormSrgb() = 75` ASTC compressed 4x4 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC5x4Unorm() = 76` ASTC compressed 5x4 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC5x4UnormSrgb() = 77` ASTC compressed 5x4 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC5x5Unorm() = 78` ASTC compressed 5x5 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC5x5UnormSrgb() = 79` ASTC compressed 5x5 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC6x5Unorm() = 80` ASTC compressed 6x5 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC6x5UnormSrgb() = 81` ASTC compressed 6x5 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC6x6Unorm() = 82` ASTC compressed 6x6 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC6x6UnormSrgb() = 83` ASTC compressed 6x6 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC8x5Unorm() = 84` ASTC compressed 8x5 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC8x5UnormSrgb() = 85` ASTC compressed 8x5 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC8x6Unorm() = 86` ASTC compressed 8x6 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC8x6UnormSrgb() = 87` ASTC compressed 8x6 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC8x8Unorm() = 88` ASTC compressed 8x8 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ASTC8x8UnormSrgb() = 89` ASTC compressed 8x8 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC1RGBAUnorm() = 50` BC1 compressed RGBA unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC1RGBAUnormSrgb() = 51` BC1 compressed RGBA sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC2RGBAUnorm() = 52` BC2 compressed RGBA unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC2RGBAUnormSrgb() = 53` BC2 compressed RGBA sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC3RGBAUnorm() = 54` BC3 compressed RGBA unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC3RGBAUnormSrgb() = 55` BC3 compressed RGBA sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC4RSnorm() = 57` BC4 compressed single-channel signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC4RUnorm() = 56` BC4 compressed single-channel unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC5RGSnorm() = 59` BC5 compressed two-channel signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC5RGUnorm() = 58` BC5 compressed two-channel unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC6HRGBFloat() = 61` BC6H compressed RGB signed float format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC6HRGBUfloat() = 60` BC6H compressed RGB unsigned float format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC7RGBAUnorm() = 62` BC7 compressed RGBA unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BC7RGBAUnormSrgb() = 63` BC7 compressed RGBA sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BGRA8Unorm() = 27` Four-component 32-bit unsigned normalized format with blue channel first. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#BGRA8UnormSrgb() = 28` Four-component 32-bit sRGB unsigned normalized format with blue channel first. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Depth16Unorm() = 45` 16-bit unsigned normalized depth format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Depth24Plus() = 46` A depth format with at least 24 bits. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Depth24PlusStencil8() = 47` A packed depth-stencil format with at least 24 bits for depth and 8 for stencil. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Depth32Float() = 48` 32-bit float depth format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Depth32FloatStencil8() = 49` 32-bit float depth and 8-bit stencil format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#EACR11Snorm() = 71` EAC compressed R11 signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#EACR11Unorm() = 70` EAC compressed R11 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#EACRG11Snorm() = 73` EAC compressed RG11 signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#EACRG11Unorm() = 72` EAC compressed RG11 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ETC2RGB8A1Unorm() = 66` ETC2 compressed RGB8A1 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ETC2RGB8A1UnormSrgb() = 67` ETC2 compressed RGB8A1 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ETC2RGB8Unorm() = 64` ETC2 compressed RGB8 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ETC2RGB8UnormSrgb() = 65` ETC2 compressed RGB8 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ETC2RGBA8Unorm() = 68` ETC2 compressed RGBA8 unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#ETC2RGBA8UnormSrgb() = 69` ETC2 compressed RGBA8 sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R16Float() = 9` 16-bit float red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R16Sint() = 8` 16-bit signed integer red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R16Snorm() = 6` 16-bit signed normalized red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R16Uint() = 7` 16-bit unsigned integer red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R16Unorm() = 5` 16-bit unsigned normalized red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R32Float() = 14` 32-bit float red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R32Sint() = 16` 32-bit signed integer red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R32Uint() = 15` 32-bit unsigned integer red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R8Sint() = 4` 8-bit signed integer red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R8Snorm() = 2` 8-bit signed normalized red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R8Uint() = 3` 8-bit unsigned integer red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#R8Unorm() = 1` 8-bit unsigned normalized red channel format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG11B10Ufloat() = 31` Packed 32-bit format with 11-bit R, G and 10-bit B unsigned float components. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG16Float() = 21` Two-component 32-bit float format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG16Sint() = 20` Two-component 32-bit signed integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG16Snorm() = 18` Two-component 32-bit signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG16Uint() = 19` Two-component 32-bit unsigned integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG16Unorm() = 17` Two-component 32-bit unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG32Float() = 33` Two-component 64-bit float format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG32Sint() = 35` Two-component 64-bit signed integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG32Uint() = 34` Two-component 64-bit unsigned integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG8Sint() = 13` Two-component 16-bit signed integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG8Snorm() = 11` Two-component 16-bit signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG8Uint() = 12` Two-component 16-bit unsigned integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RG8Unorm() = 10` Two-component 16-bit unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGB10A2Uint() = 29` Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned integer components. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGB10A2Unorm() = 30` Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned normalized components. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGB9E5Ufloat() = 32` Packed 32-bit format with 9-bit R, G, B mantissas and a shared 5-bit exponent. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA16Float() = 40` Four-component 64-bit float format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA16Sint() = 39` Four-component 64-bit signed integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA16Snorm() = 37` Four-component 64-bit signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA16Uint() = 38` Four-component 64-bit unsigned integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA16Unorm() = 36` Four-component 64-bit unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA32Float() = 41` Four-component 128-bit float format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA32Sint() = 43` Four-component 128-bit signed integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA32Uint() = 42` Four-component 128-bit unsigned integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA8Sint() = 26` Four-component 32-bit signed integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA8Snorm() = 24` Four-component 32-bit signed normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA8Uint() = 25` Four-component 32-bit unsigned integer format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA8Unorm() = 22` Four-component 32-bit unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#RGBA8UnormSrgb() = 23` Four-component 32-bit sRGB unsigned normalized format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Stencil8() = 44` 8-bit stencil format. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#Undefined() = 0` Indicates that no texture format is specified. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureFormat#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### ASTC10x10Unorm

```
const val ASTC10x10Unorm = 96: Int
```

ASTC compressed 10x10 unsigned normalized format.

### ASTC10x10UnormSrgb

```
const val ASTC10x10UnormSrgb = 97: Int
```

ASTC compressed 10x10 sRGB unsigned normalized format.

### ASTC10x5Unorm

```
const val ASTC10x5Unorm = 90: Int
```

ASTC compressed 10x5 unsigned normalized format.

### ASTC10x5UnormSrgb

```
const val ASTC10x5UnormSrgb = 91: Int
```

ASTC compressed 10x5 sRGB unsigned normalized format.

### ASTC10x6Unorm

```
const val ASTC10x6Unorm = 92: Int
```

ASTC compressed 10x6 unsigned normalized format.

### ASTC10x6UnormSrgb

```
const val ASTC10x6UnormSrgb = 93: Int
```

ASTC compressed 10x6 sRGB unsigned normalized format.

### ASTC10x8Unorm

```
const val ASTC10x8Unorm = 94: Int
```

ASTC compressed 10x8 unsigned normalized format.

### ASTC10x8UnormSrgb

```
const val ASTC10x8UnormSrgb = 95: Int
```

ASTC compressed 10x8 sRGB unsigned normalized format.

### ASTC12x10Unorm

```
const val ASTC12x10Unorm = 98: Int
```

ASTC compressed 12x10 unsigned normalized format.

### ASTC12x10UnormSrgb

```
const val ASTC12x10UnormSrgb = 99: Int
```

ASTC compressed 12x10 sRGB unsigned normalized format.

### ASTC12x12Unorm

```
const val ASTC12x12Unorm = 100: Int
```

ASTC compressed 12x12 unsigned normalized format.

### ASTC12x12UnormSrgb

```
const val ASTC12x12UnormSrgb = 101: Int
```

ASTC compressed 12x12 sRGB unsigned normalized format.

### ASTC4x4Unorm

```
const val ASTC4x4Unorm = 74: Int
```

ASTC compressed 4x4 unsigned normalized format.

### ASTC4x4UnormSrgb

```
const val ASTC4x4UnormSrgb = 75: Int
```

ASTC compressed 4x4 sRGB unsigned normalized format.

### ASTC5x4Unorm

```
const val ASTC5x4Unorm = 76: Int
```

ASTC compressed 5x4 unsigned normalized format.

### ASTC5x4UnormSrgb

```
const val ASTC5x4UnormSrgb = 77: Int
```

ASTC compressed 5x4 sRGB unsigned normalized format.

### ASTC5x5Unorm

```
const val ASTC5x5Unorm = 78: Int
```

ASTC compressed 5x5 unsigned normalized format.

### ASTC5x5UnormSrgb

```
const val ASTC5x5UnormSrgb = 79: Int
```

ASTC compressed 5x5 sRGB unsigned normalized format.

### ASTC6x5Unorm

```
const val ASTC6x5Unorm = 80: Int
```

ASTC compressed 6x5 unsigned normalized format.

### ASTC6x5UnormSrgb

```
const val ASTC6x5UnormSrgb = 81: Int
```

ASTC compressed 6x5 sRGB unsigned normalized format.

### ASTC6x6Unorm

```
const val ASTC6x6Unorm = 82: Int
```

ASTC compressed 6x6 unsigned normalized format.

### ASTC6x6UnormSrgb

```
const val ASTC6x6UnormSrgb = 83: Int
```

ASTC compressed 6x6 sRGB unsigned normalized format.

### ASTC8x5Unorm

```
const val ASTC8x5Unorm = 84: Int
```

ASTC compressed 8x5 unsigned normalized format.

### ASTC8x5UnormSrgb

```
const val ASTC8x5UnormSrgb = 85: Int
```

ASTC compressed 8x5 sRGB unsigned normalized format.

### ASTC8x6Unorm

```
const val ASTC8x6Unorm = 86: Int
```

ASTC compressed 8x6 unsigned normalized format.

### ASTC8x6UnormSrgb

```
const val ASTC8x6UnormSrgb = 87: Int
```

ASTC compressed 8x6 sRGB unsigned normalized format.

### ASTC8x8Unorm

```
const val ASTC8x8Unorm = 88: Int
```

ASTC compressed 8x8 unsigned normalized format.

### ASTC8x8UnormSrgb

```
const val ASTC8x8UnormSrgb = 89: Int
```

ASTC compressed 8x8 sRGB unsigned normalized format.

### BC1RGBAUnorm

```
const val BC1RGBAUnorm = 50: Int
```

BC1 compressed RGBA unsigned normalized format.

### BC1RGBAUnormSrgb

```
const val BC1RGBAUnormSrgb = 51: Int
```

BC1 compressed RGBA sRGB unsigned normalized format.

### BC2RGBAUnorm

```
const val BC2RGBAUnorm = 52: Int
```

BC2 compressed RGBA unsigned normalized format.

### BC2RGBAUnormSrgb

```
const val BC2RGBAUnormSrgb = 53: Int
```

BC2 compressed RGBA sRGB unsigned normalized format.

### BC3RGBAUnorm

```
const val BC3RGBAUnorm = 54: Int
```

BC3 compressed RGBA unsigned normalized format.

### BC3RGBAUnormSrgb

```
const val BC3RGBAUnormSrgb = 55: Int
```

BC3 compressed RGBA sRGB unsigned normalized format.

### BC4RSnorm

```
const val BC4RSnorm = 57: Int
```

BC4 compressed single-channel signed normalized format.

### BC4RUnorm

```
const val BC4RUnorm = 56: Int
```

BC4 compressed single-channel unsigned normalized format.

### BC5RGSnorm

```
const val BC5RGSnorm = 59: Int
```

BC5 compressed two-channel signed normalized format.

### BC5RGUnorm

```
const val BC5RGUnorm = 58: Int
```

BC5 compressed two-channel unsigned normalized format.

### BC6HRGBFloat

```
const val BC6HRGBFloat = 61: Int
```

BC6H compressed RGB signed float format.

### BC6HRGBUfloat

```
const val BC6HRGBUfloat = 60: Int
```

BC6H compressed RGB unsigned float format.

### BC7RGBAUnorm

```
const val BC7RGBAUnorm = 62: Int
```

BC7 compressed RGBA unsigned normalized format.

### BC7RGBAUnormSrgb

```
const val BC7RGBAUnormSrgb = 63: Int
```

BC7 compressed RGBA sRGB unsigned normalized format.

### BGRA8Unorm

```
const val BGRA8Unorm = 27: Int
```

Four-component 32-bit unsigned normalized format with blue channel first.

### BGRA8UnormSrgb

```
const val BGRA8UnormSrgb = 28: Int
```

Four-component 32-bit sRGB unsigned normalized format with blue channel first.

### Depth16Unorm

```
const val Depth16Unorm = 45: Int
```

16-bit unsigned normalized depth format.

### Depth24Plus

```
const val Depth24Plus = 46: Int
```

A depth format with at least 24 bits.

### Depth24PlusStencil8

```
const val Depth24PlusStencil8 = 47: Int
```

A packed depth-stencil format with at least 24 bits for depth and 8 for stencil.

### Depth32Float

```
const val Depth32Float = 48: Int
```

32-bit float depth format.

### Depth32FloatStencil8

```
const val Depth32FloatStencil8 = 49: Int
```

32-bit float depth and 8-bit stencil format.

### EACR11Snorm

```
const val EACR11Snorm = 71: Int
```

EAC compressed R11 signed normalized format.

### EACR11Unorm

```
const val EACR11Unorm = 70: Int
```

EAC compressed R11 unsigned normalized format.

### EACRG11Snorm

```
const val EACRG11Snorm = 73: Int
```

EAC compressed RG11 signed normalized format.

### EACRG11Unorm

```
const val EACRG11Unorm = 72: Int
```

EAC compressed RG11 unsigned normalized format.

### ETC2RGB8A1Unorm

```
const val ETC2RGB8A1Unorm = 66: Int
```

ETC2 compressed RGB8A1 unsigned normalized format.

### ETC2RGB8A1UnormSrgb

```
const val ETC2RGB8A1UnormSrgb = 67: Int
```

ETC2 compressed RGB8A1 sRGB unsigned normalized format.

### ETC2RGB8Unorm

```
const val ETC2RGB8Unorm = 64: Int
```

ETC2 compressed RGB8 unsigned normalized format.

### ETC2RGB8UnormSrgb

```
const val ETC2RGB8UnormSrgb = 65: Int
```

ETC2 compressed RGB8 sRGB unsigned normalized format.

### ETC2RGBA8Unorm

```
const val ETC2RGBA8Unorm = 68: Int
```

ETC2 compressed RGBA8 unsigned normalized format.

### ETC2RGBA8UnormSrgb

```
const val ETC2RGBA8UnormSrgb = 69: Int
```

ETC2 compressed RGBA8 sRGB unsigned normalized format.

### R16Float

```
const val R16Float = 9: Int
```

16-bit float red channel format.

### R16Sint

```
const val R16Sint = 8: Int
```

16-bit signed integer red channel format.

### R16Snorm

```
const val R16Snorm = 6: Int
```

16-bit signed normalized red channel format.

### R16Uint

```
const val R16Uint = 7: Int
```

16-bit unsigned integer red channel format.

### R16Unorm

```
const val R16Unorm = 5: Int
```

16-bit unsigned normalized red channel format.

### R32Float

```
const val R32Float = 14: Int
```

32-bit float red channel format.

### R32Sint

```
const val R32Sint = 16: Int
```

32-bit signed integer red channel format.

### R32Uint

```
const val R32Uint = 15: Int
```

32-bit unsigned integer red channel format.

### R8Sint

```
const val R8Sint = 4: Int
```

8-bit signed integer red channel format.

### R8Snorm

```
const val R8Snorm = 2: Int
```

8-bit signed normalized red channel format.

### R8Uint

```
const val R8Uint = 3: Int
```

8-bit unsigned integer red channel format.

### R8Unorm

```
const val R8Unorm = 1: Int
```

8-bit unsigned normalized red channel format.

### RG11B10Ufloat

```
const val RG11B10Ufloat = 31: Int
```

Packed 32-bit format with 11-bit R, G and 10-bit B unsigned float components.

### RG16Float

```
const val RG16Float = 21: Int
```

Two-component 32-bit float format.

### RG16Sint

```
const val RG16Sint = 20: Int
```

Two-component 32-bit signed integer format.

### RG16Snorm

```
const val RG16Snorm = 18: Int
```

Two-component 32-bit signed normalized format.

### RG16Uint

```
const val RG16Uint = 19: Int
```

Two-component 32-bit unsigned integer format.

### RG16Unorm

```
const val RG16Unorm = 17: Int
```

Two-component 32-bit unsigned normalized format.

### RG32Float

```
const val RG32Float = 33: Int
```

Two-component 64-bit float format.

### RG32Sint

```
const val RG32Sint = 35: Int
```

Two-component 64-bit signed integer format.

### RG32Uint

```
const val RG32Uint = 34: Int
```

Two-component 64-bit unsigned integer format.

### RG8Sint

```
const val RG8Sint = 13: Int
```

Two-component 16-bit signed integer format.

### RG8Snorm

```
const val RG8Snorm = 11: Int
```

Two-component 16-bit signed normalized format.

### RG8Uint

```
const val RG8Uint = 12: Int
```

Two-component 16-bit unsigned integer format.

### RG8Unorm

```
const val RG8Unorm = 10: Int
```

Two-component 16-bit unsigned normalized format.

### RGB10A2Uint

```
const val RGB10A2Uint = 29: Int
```

Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned integer components.

### RGB10A2Unorm

```
const val RGB10A2Unorm = 30: Int
```

Packed 32-bit format with 10-bit R, G, B and 2-bit A unsigned normalized components.

### RGB9E5Ufloat

```
const val RGB9E5Ufloat = 32: Int
```

Packed 32-bit format with 9-bit R, G, B mantissas and a shared 5-bit exponent.

### RGBA16Float

```
const val RGBA16Float = 40: Int
```

Four-component 64-bit float format.

### RGBA16Sint

```
const val RGBA16Sint = 39: Int
```

Four-component 64-bit signed integer format.

### RGBA16Snorm

```
const val RGBA16Snorm = 37: Int
```

Four-component 64-bit signed normalized format.

### RGBA16Uint

```
const val RGBA16Uint = 38: Int
```

Four-component 64-bit unsigned integer format.

### RGBA16Unorm

```
const val RGBA16Unorm = 36: Int
```

Four-component 64-bit unsigned normalized format.

### RGBA32Float

```
const val RGBA32Float = 41: Int
```

Four-component 128-bit float format.

### RGBA32Sint

```
const val RGBA32Sint = 43: Int
```

Four-component 128-bit signed integer format.

### RGBA32Uint

```
const val RGBA32Uint = 42: Int
```

Four-component 128-bit unsigned integer format.

### RGBA8Sint

```
const val RGBA8Sint = 26: Int
```

Four-component 32-bit signed integer format.

### RGBA8Snorm

```
const val RGBA8Snorm = 24: Int
```

Four-component 32-bit signed normalized format.

### RGBA8Uint

```
const val RGBA8Uint = 25: Int
```

Four-component 32-bit unsigned integer format.

### RGBA8Unorm

```
const val RGBA8Unorm = 22: Int
```

Four-component 32-bit unsigned normalized format.

### RGBA8UnormSrgb

```
const val RGBA8UnormSrgb = 23: Int
```

Four-component 32-bit sRGB unsigned normalized format.

### Stencil8

```
const val Stencil8 = 44: Int
```

8-bit stencil format.

### Undefined

```
const val Undefined = 0: Int
```

Indicates that no texture format is specified.

## Public companion functions

### toString

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
fun toString(value: Int): String
```