Skip to content

GPUTextureFormat

=== "common" Selects the texel representation and sampling or attachment capabilities of a GPUTexture. === "commonNative" Selects the texel representation and sampling or attachment capabilities of a GPUTexture. === "web" Selects the texel representation and sampling or attachment capabilities of a GPUTexture.

Entries

R8Unorm

=== "common" === "commonNative" === "web"

R8Snorm

=== "common" === "commonNative" === "web"

R8Uint

=== "common" === "commonNative" === "web"

R8Sint

=== "common" === "commonNative" === "web"

R16Unorm

=== "common" === "commonNative" === "web"

R16Snorm

=== "common" === "commonNative" === "web"

R16Uint

=== "common" === "commonNative" === "web"

R16Sint

=== "common" === "commonNative" === "web"

R16Float

=== "common" === "commonNative" === "web"

RG8Unorm

=== "common" === "commonNative" === "web"

RG8Snorm

=== "common" === "commonNative" === "web"

RG8Uint

=== "common" === "commonNative" === "web"

RG8Sint

=== "common" === "commonNative" === "web"

R32Float

=== "common" === "commonNative" === "web"

R32Uint

=== "common" === "commonNative" === "web"

R32Sint

=== "common" === "commonNative" === "web"

RG16Unorm

=== "common" === "commonNative" === "web"

RG16Snorm

=== "common" === "commonNative" === "web"

RG16Uint

=== "common" === "commonNative" === "web"

RG16Sint

=== "common" === "commonNative" === "web"

RG16Float

=== "common" === "commonNative" === "web"

RGBA8Unorm

=== "common" === "commonNative" === "web"

RGBA8UnormSrgb

=== "common" === "commonNative" === "web"

RGBA8Snorm

=== "common" === "commonNative" === "web"

RGBA8Uint

=== "common" === "commonNative" === "web"

RGBA8Sint

=== "common" === "commonNative" === "web"

BGRA8Unorm

=== "common" === "commonNative" === "web"

BGRA8UnormSrgb

=== "common" === "commonNative" === "web"

RGB10A2Uint

=== "common" === "commonNative" === "web"

RGB10A2Unorm

=== "common" === "commonNative" === "web"

RG11B10Ufloat

=== "common" === "commonNative" === "web"

RGB9E5Ufloat

=== "common" === "commonNative" === "web"

RG32Float

=== "common" === "commonNative" === "web"

RG32Uint

=== "common" === "commonNative" === "web"

RG32Sint

=== "common" === "commonNative" === "web"

RGBA16Unorm

=== "common" === "commonNative" === "web"

RGBA16Snorm

=== "common" === "commonNative" === "web"

RGBA16Uint

=== "common" === "commonNative" === "web"

RGBA16Sint

=== "common" === "commonNative" === "web"

RGBA16Float

=== "common" === "commonNative" === "web"

RGBA32Float

=== "common" === "commonNative" === "web"

RGBA32Uint

=== "common" === "commonNative" === "web"

RGBA32Sint

=== "common" === "commonNative" === "web"

Stencil8

=== "common" === "commonNative" === "web"

Depth16Unorm

=== "common" === "commonNative" === "web"

Depth24Plus

=== "common" === "commonNative" === "web"

Depth24PlusStencil8

=== "common" === "commonNative" === "web"

Depth32Float

=== "common" === "commonNative" === "web"

Depth32FloatStencil8

=== "common" === "commonNative" === "web"

BC1RGBAUnorm

=== "common" === "commonNative" === "web"

BC1RGBAUnormSrgb

=== "common" === "commonNative" === "web"

BC2RGBAUnorm

=== "common" === "commonNative" === "web"

BC2RGBAUnormSrgb

=== "common" === "commonNative" === "web"

BC3RGBAUnorm

=== "common" === "commonNative" === "web"

BC3RGBAUnormSrgb

=== "common" === "commonNative" === "web"

BC4RUnorm

=== "common" === "commonNative" === "web"

BC4RSnorm

=== "common" === "commonNative" === "web"

BC5RGUnorm

=== "common" === "commonNative" === "web"

BC5RGSnorm

=== "common" === "commonNative" === "web"

BC6HRGBUfloat

=== "common" === "commonNative" === "web"

BC6HRGBFloat

=== "common" === "commonNative" === "web"

BC7RGBAUnorm

=== "common" === "commonNative" === "web"

BC7RGBAUnormSrgb

=== "common" === "commonNative" === "web"

ETC2RGB8Unorm

=== "common" === "commonNative" === "web"

ETC2RGB8UnormSrgb

=== "common" === "commonNative" === "web"

ETC2RGB8A1Unorm

=== "common" === "commonNative" === "web"

ETC2RGB8A1UnormSrgb

=== "common" === "commonNative" === "web"

ETC2RGBA8Unorm

=== "common" === "commonNative" === "web"

ETC2RGBA8UnormSrgb

=== "common" === "commonNative" === "web"

EACR11Unorm

=== "common" === "commonNative" === "web"

EACR11Snorm

=== "common" === "commonNative" === "web"

EACRG11Unorm

=== "common" === "commonNative" === "web"

EACRG11Snorm

=== "common" === "commonNative" === "web"

ASTC4x4Unorm

=== "common" === "commonNative" === "web"

ASTC4x4UnormSrgb

=== "common" === "commonNative" === "web"

ASTC5x4Unorm

=== "common" === "commonNative" === "web"

ASTC5x4UnormSrgb

=== "common" === "commonNative" === "web"

ASTC5x5Unorm

=== "common" === "commonNative" === "web"

ASTC5x5UnormSrgb

=== "common" === "commonNative" === "web"

ASTC6x5Unorm

=== "common" === "commonNative" === "web"

ASTC6x5UnormSrgb

=== "common" === "commonNative" === "web"

ASTC6x6Unorm

=== "common" === "commonNative" === "web"

ASTC6x6UnormSrgb

=== "common" === "commonNative" === "web"

ASTC8x5Unorm

=== "common" === "commonNative" === "web"

ASTC8x5UnormSrgb

=== "common" === "commonNative" === "web"

ASTC8x6Unorm

=== "common" === "commonNative" === "web"

ASTC8x6UnormSrgb

=== "common" === "commonNative" === "web"

ASTC8x8Unorm

=== "common" === "commonNative" === "web"

ASTC8x8UnormSrgb

=== "common" === "commonNative" === "web"

ASTC10x5Unorm

=== "common" === "commonNative" === "web"

ASTC10x5UnormSrgb

=== "common" === "commonNative" === "web"

ASTC10x6Unorm

=== "common" === "commonNative" === "web"

ASTC10x6UnormSrgb

=== "common" === "commonNative" === "web"

ASTC10x8Unorm

=== "common" === "commonNative" === "web"

ASTC10x8UnormSrgb

=== "common" === "commonNative" === "web"

ASTC10x10Unorm

=== "common" === "commonNative" === "web"

ASTC10x10UnormSrgb

=== "common" === "commonNative" === "web"

ASTC12x10Unorm

=== "common" === "commonNative" === "web"

ASTC12x10UnormSrgb

=== "common" === "commonNative" === "web"

ASTC12x12Unorm

=== "common" === "commonNative" === "web"

ASTC12x12UnormSrgb

=== "common" === "commonNative" === "web"

Types

Companion

object Companion
object Companion

Properties

entries

Returns a representation of an immutable list of all enum entries, in the order they're declared. This method may be used to iterate over the enum entries.

name

expect val name: String
expect val name: String
expect val name: String

ordinal

expect val ordinal: Int
expect val ordinal: Int
expect val ordinal: Int

value

Functions

valueOf

expect fun valueOf(value: String): GPUTextureFormat
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) **Throws** [`kotlin.IllegalArgumentException`](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html) : if this enum type has no constant with the specified name

values

expect fun values(): Array<GPUTextureFormat>
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.