Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGPUDeviceFeature

A feature extension provided by the WebGPU device.
Read time 2 minutesLast updated 6 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum WebGPUDeviceFeature

Remarks

Identifies the feature extensions supported by the WebGPU device, as a requirement for certain functionalities.

Fields

Value

Description

BGRA8UnormStorageIndicates that the WebGPU device supports BGRA8 unorm storage format, 'bgra8-unorm-storage'.
ClipDistancesIndicates that the WebGPU device supports clip distances, 'clip-distances'.
CoreFeaturesAndLimitsIndicates that the core features and limits of the WebGPU device are supported, 'core-features-and-limits'.
Depth32FloatStencil8Indicates that the WebGPU device supports depth32float-stencil8, 'depth32float-stencil8'.
DepthClipControlIndicates that the WebGPU device supports depth-clip-control, 'depth-clip-control'.
DualSourceBlendingIndicates that the WebGPU device supports dual source blending, 'dual-source-blending'.
Float32BlendableIndicates that the WebGPU device supports 32-bit floating-point blendable textures, 'float32-blendable'.
Float32FilterableIndicates that the WebGPU device supports 32-bit floating-point filterable textures, 'float32-filterable'.
IndirectFirstInstanceIndicates that the WebGPU device supports indirect first instance, 'indirect-first-instance'.
NoneA default value used to indicate no feature requirements.
PrimitiveIndexIndicates that the WebGPU device supports primitive index, 'primitive-index'.
RG11B10UfloatRenderableIndicates that the WebGPU device supports RG11B10Ufloat renderable format, 'rg11b10ufloat-renderable'.
ShaderF16Indicates that the WebGPU device supports 16-bit floating-point shaders, 'shader-f16'.
SubgroupsIndicates that the WebGPU device supports subgroups, 'subgroups'.
TextureComponentSwizzleIndicates that the WebGPU device supports texture component swizzle, 'texture-component-swizzle'.
TextureCompressionASTCIndicates that the WebGPU device supports ASTC texture compression, 'texture-compression-astc'.
TextureCompressionASTCSliced3DIndicates that the WebGPU device supports ASTC sliced 3D texture compression, 'texture-compression-astc-sliced-3d'.
TextureCompressionBCIndicates that the WebGPU device supports BC texture compression, 'texture-compression-bc'.
TextureCompressionBCSliced3DIndicates that the WebGPU device supports BC sliced 3D texture compression, 'texture-compression-bc-sliced-3d'.
TextureCompressionETC2Indicates that the WebGPU device supports ETC2 texture compression, 'texture-compression-etc2'.
TextureFormatsTier1Indicates that the WebGPU device supports texture formats tier 1, 'texture-formats-tier-1'.
TextureFormatsTier2Indicates that the WebGPU device supports texture formats tier 2, 'texture-formats-tier-2'.
TimestampQueryIndicates that the WebGPU device supports timestamp queries, 'timestamp-query'.