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.
expect enum GPUTextureFormat : Enum<GPUTextureFormat>
actual enum GPUTextureFormat : Enum<GPUTextureFormat>
actual enum GPUTextureFormat : Enum<GPUTextureFormat>
Entries¶
R8Unorm¶
R8Snorm¶
R8Uint¶
R8Sint¶
R16Unorm¶
R16Snorm¶
R16Uint¶
R16Sint¶
R16Float¶
RG8Unorm¶
RG8Snorm¶
RG8Uint¶
RG8Sint¶
R32Float¶
R32Uint¶
R32Sint¶
RG16Unorm¶
RG16Snorm¶
RG16Uint¶
RG16Sint¶
RG16Float¶
RGBA8Unorm¶
RGBA8UnormSrgb¶
RGBA8Snorm¶
RGBA8Uint¶
RGBA8Sint¶
BGRA8Unorm¶
BGRA8UnormSrgb¶
RGB10A2Uint¶
RGB10A2Unorm¶
RG11B10Ufloat¶
RGB9E5Ufloat¶
RG32Float¶
RG32Uint¶
RG32Sint¶
RGBA16Unorm¶
RGBA16Snorm¶
RGBA16Uint¶
RGBA16Sint¶
RGBA16Float¶
RGBA32Float¶
RGBA32Uint¶
RGBA32Sint¶
Stencil8¶
Depth16Unorm¶
Depth24Plus¶
Depth24PlusStencil8¶
=== "common"
=== "commonNative"
=== "web"
Depth32Float¶
Depth32FloatStencil8¶
=== "common"
=== "commonNative"
=== "web"
BC1RGBAUnorm¶
BC1RGBAUnormSrgb¶
BC2RGBAUnorm¶
BC2RGBAUnormSrgb¶
BC3RGBAUnorm¶
BC3RGBAUnormSrgb¶
BC4RUnorm¶
BC4RSnorm¶
BC5RGUnorm¶
BC5RGSnorm¶
BC6HRGBUfloat¶
BC6HRGBFloat¶
BC7RGBAUnorm¶
BC7RGBAUnormSrgb¶
ETC2RGB8Unorm¶
ETC2RGB8UnormSrgb¶
ETC2RGB8A1Unorm¶
ETC2RGB8A1UnormSrgb¶
=== "common"
=== "commonNative"
=== "web"
ETC2RGBA8Unorm¶
ETC2RGBA8UnormSrgb¶
EACR11Unorm¶
EACR11Snorm¶
EACRG11Unorm¶
EACRG11Snorm¶
ASTC4x4Unorm¶
ASTC4x4UnormSrgb¶
ASTC5x4Unorm¶
ASTC5x4UnormSrgb¶
ASTC5x5Unorm¶
ASTC5x5UnormSrgb¶
ASTC6x5Unorm¶
ASTC6x5UnormSrgb¶
ASTC6x6Unorm¶
ASTC6x6UnormSrgb¶
ASTC8x5Unorm¶
ASTC8x5UnormSrgb¶
ASTC8x6Unorm¶
ASTC8x6UnormSrgb¶
ASTC8x8Unorm¶
ASTC8x8UnormSrgb¶
ASTC10x5Unorm¶
ASTC10x5UnormSrgb¶
ASTC10x6Unorm¶
ASTC10x6UnormSrgb¶
ASTC10x8Unorm¶
ASTC10x8UnormSrgb¶
ASTC10x10Unorm¶
ASTC10x10UnormSrgb¶
ASTC12x10Unorm¶
ASTC12x10UnormSrgb¶
ASTC12x12Unorm¶
ASTC12x12UnormSrgb¶
Types¶
Companion¶
object Companion
object Companion
Properties¶
entries¶
expect val entries: EnumEntries<GPUTextureFormat>
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¶
ordinal¶
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.