Data Fields | |
| WGPUChainedStruct | chain |
| uint32_t | maxStorageBuffersInVertexStage |
| uint32_t | maxStorageTexturesInVertexStage |
| uint32_t | maxStorageBuffersInFragmentStage |
| uint32_t | maxStorageTexturesInFragmentStage |
Note: While Compatibility Mode is optional to implement, this extension struct is required to be supported (for both queries and requests) and behave as defined in the WebGPU spec.
Default values can be set using WGPU_COMPATIBILITY_MODE_LIMITS_INIT as initializer.
| WGPUChainedStruct WGPUCompatibilityModeLimits::chain |
| uint32_t WGPUCompatibilityModeLimits::maxStorageBuffersInVertexStage |
The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.
| uint32_t WGPUCompatibilityModeLimits::maxStorageTexturesInVertexStage |
The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.
| uint32_t WGPUCompatibilityModeLimits::maxStorageBuffersInFragmentStage |
The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.
| uint32_t WGPUCompatibilityModeLimits::maxStorageTexturesInFragmentStage |
The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.