WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUCompatibilityModeLimits Struct Reference

Data Fields

WGPUChainedStruct chain
 
uint32_t maxStorageBuffersInVertexStage
 
uint32_t maxStorageTexturesInVertexStage
 
uint32_t maxStorageBuffersInFragmentStage
 
uint32_t maxStorageTexturesInFragmentStage
 

Detailed Description

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.

Definition at line 2032 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUCompatibilityModeLimits::chain

Definition at line 2033 of file webgpu.h.

◆ maxStorageBuffersInVertexStage

uint32_t WGPUCompatibilityModeLimits::maxStorageBuffersInVertexStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2037 of file webgpu.h.

◆ maxStorageTexturesInVertexStage

uint32_t WGPUCompatibilityModeLimits::maxStorageTexturesInVertexStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2041 of file webgpu.h.

◆ maxStorageBuffersInFragmentStage

uint32_t WGPUCompatibilityModeLimits::maxStorageBuffersInFragmentStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2045 of file webgpu.h.

◆ maxStorageTexturesInFragmentStage

uint32_t WGPUCompatibilityModeLimits::maxStorageTexturesInFragmentStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2049 of file webgpu.h.