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

Data Fields

WGPUChainedStructnextInChain
 
uint32_t maxTextureDimension1D
 
uint32_t maxTextureDimension2D
 
uint32_t maxTextureDimension3D
 
uint32_t maxTextureArrayLayers
 
uint32_t maxBindGroups
 
uint32_t maxBindGroupsPlusVertexBuffers
 
uint32_t maxBindingsPerBindGroup
 
uint32_t maxDynamicUniformBuffersPerPipelineLayout
 
uint32_t maxDynamicStorageBuffersPerPipelineLayout
 
uint32_t maxSampledTexturesPerShaderStage
 
uint32_t maxSamplersPerShaderStage
 
uint32_t maxStorageBuffersPerShaderStage
 
uint32_t maxStorageTexturesPerShaderStage
 
uint32_t maxUniformBuffersPerShaderStage
 
uint64_t maxUniformBufferBindingSize
 
uint64_t maxStorageBufferBindingSize
 
uint32_t minUniformBufferOffsetAlignment
 
uint32_t minStorageBufferOffsetAlignment
 
uint32_t maxVertexBuffers
 
uint64_t maxBufferSize
 
uint32_t maxVertexAttributes
 
uint32_t maxVertexBufferArrayStride
 
uint32_t maxInterStageShaderVariables
 
uint32_t maxColorAttachments
 
uint32_t maxColorAttachmentBytesPerSample
 
uint32_t maxComputeWorkgroupStorageSize
 
uint32_t maxComputeInvocationsPerWorkgroup
 
uint32_t maxComputeWorkgroupSizeX
 
uint32_t maxComputeWorkgroupSizeY
 
uint32_t maxComputeWorkgroupSizeZ
 
uint32_t maxComputeWorkgroupsPerDimension
 

Detailed Description

Default values can be set using WGPU_LIMITS_INIT as initializer.

Definition at line 2038 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPULimits::nextInChain

Definition at line 2039 of file webgpu.h.

◆ maxTextureDimension1D

uint32_t WGPULimits::maxTextureDimension1D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2043 of file webgpu.h.

◆ maxTextureDimension2D

uint32_t WGPULimits::maxTextureDimension2D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2047 of file webgpu.h.

◆ maxTextureDimension3D

uint32_t WGPULimits::maxTextureDimension3D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2051 of file webgpu.h.

◆ maxTextureArrayLayers

uint32_t WGPULimits::maxTextureArrayLayers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2055 of file webgpu.h.

◆ maxBindGroups

uint32_t WGPULimits::maxBindGroups

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2059 of file webgpu.h.

◆ maxBindGroupsPlusVertexBuffers

uint32_t WGPULimits::maxBindGroupsPlusVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2063 of file webgpu.h.

◆ maxBindingsPerBindGroup

uint32_t WGPULimits::maxBindingsPerBindGroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2067 of file webgpu.h.

◆ maxDynamicUniformBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicUniformBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2071 of file webgpu.h.

◆ maxDynamicStorageBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicStorageBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2075 of file webgpu.h.

◆ maxSampledTexturesPerShaderStage

uint32_t WGPULimits::maxSampledTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2079 of file webgpu.h.

◆ maxSamplersPerShaderStage

uint32_t WGPULimits::maxSamplersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2083 of file webgpu.h.

◆ maxStorageBuffersPerShaderStage

uint32_t WGPULimits::maxStorageBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2087 of file webgpu.h.

◆ maxStorageTexturesPerShaderStage

uint32_t WGPULimits::maxStorageTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2091 of file webgpu.h.

◆ maxUniformBuffersPerShaderStage

uint32_t WGPULimits::maxUniformBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2095 of file webgpu.h.

◆ maxUniformBufferBindingSize

uint64_t WGPULimits::maxUniformBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2099 of file webgpu.h.

◆ maxStorageBufferBindingSize

uint64_t WGPULimits::maxStorageBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2103 of file webgpu.h.

◆ minUniformBufferOffsetAlignment

uint32_t WGPULimits::minUniformBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2107 of file webgpu.h.

◆ minStorageBufferOffsetAlignment

uint32_t WGPULimits::minStorageBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2111 of file webgpu.h.

◆ maxVertexBuffers

uint32_t WGPULimits::maxVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2115 of file webgpu.h.

◆ maxBufferSize

uint64_t WGPULimits::maxBufferSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2119 of file webgpu.h.

◆ maxVertexAttributes

uint32_t WGPULimits::maxVertexAttributes

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2123 of file webgpu.h.

◆ maxVertexBufferArrayStride

uint32_t WGPULimits::maxVertexBufferArrayStride

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2127 of file webgpu.h.

◆ maxInterStageShaderVariables

uint32_t WGPULimits::maxInterStageShaderVariables

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2131 of file webgpu.h.

◆ maxColorAttachments

uint32_t WGPULimits::maxColorAttachments

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2135 of file webgpu.h.

◆ maxColorAttachmentBytesPerSample

uint32_t WGPULimits::maxColorAttachmentBytesPerSample

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2139 of file webgpu.h.

◆ maxComputeWorkgroupStorageSize

uint32_t WGPULimits::maxComputeWorkgroupStorageSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2143 of file webgpu.h.

◆ maxComputeInvocationsPerWorkgroup

uint32_t WGPULimits::maxComputeInvocationsPerWorkgroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2147 of file webgpu.h.

◆ maxComputeWorkgroupSizeX

uint32_t WGPULimits::maxComputeWorkgroupSizeX

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2151 of file webgpu.h.

◆ maxComputeWorkgroupSizeY

uint32_t WGPULimits::maxComputeWorkgroupSizeY

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2155 of file webgpu.h.

◆ maxComputeWorkgroupSizeZ

uint32_t WGPULimits::maxComputeWorkgroupSizeZ

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2159 of file webgpu.h.

◆ maxComputeWorkgroupsPerDimension

uint32_t WGPULimits::maxComputeWorkgroupsPerDimension

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2163 of file webgpu.h.