GPUFeatureName¶
=== "common"
Each GPUFeatureName identifies a set of functionality which, if available, allows additional usages of WebGPU that would have otherwise been invalid.
=== "commonNative"
Each GPUFeatureName identifies a set of functionality which, if available, allows additional usages of WebGPU that would have otherwise been invalid.
=== "web"
Each GPUFeatureName identifies a set of functionality which, if available, allows additional usages of WebGPU that would have otherwise been invalid.
expect enum GPUFeatureName : Enum<GPUFeatureName>
actual enum GPUFeatureName : Enum<GPUFeatureName>
actual enum GPUFeatureName : Enum<GPUFeatureName>
Entries¶
CoreFeaturesAndLimits¶
=== "common"
=== "commonNative"
=== "web"
DepthClipControl¶
Depth32FloatStencil8¶
=== "common"
=== "commonNative"
=== "web"
TextureCompressionBC¶
=== "common"
=== "commonNative"
=== "web"
TextureCompressionBCSliced3D¶
=== "common"
=== "commonNative"
=== "web"
TextureCompressionETC2¶
=== "common"
=== "commonNative"
=== "web"
TextureCompressionASTC¶
=== "common"
=== "commonNative"
=== "web"
TextureCompressionASTCSliced3D¶
=== "common"
=== "commonNative"
=== "web"
TimestampQuery¶
IndirectFirstInstance¶
=== "common"
=== "commonNative"
=== "web"
ShaderF16¶
RG11B10UfloatRenderable¶
=== "common"
=== "commonNative"
=== "web"
BGRA8UnormStorage¶
Float32Filterable¶
Float32Blendable¶
ClipDistances¶
DualSourceBlending¶
Subgroups¶
TextureFormatsTier1¶
=== "common"
=== "commonNative"
=== "web"
TextureFormatsTier2¶
=== "common"
=== "commonNative"
=== "web"
PrimitiveIndex¶
TextureComponentSwizzle¶
=== "common"
=== "commonNative"
=== "web"
Types¶
Companion¶
object Companion
object Companion
Properties¶
entries¶
expect val entries: EnumEntries<GPUFeatureName>
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): GPUFeatureName
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<GPUFeatureName>
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.