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

Data Fields

WGPUChainedStructOutnextInChain
 
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 1994 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStructOut* WGPULimits::nextInChain

This struct chain is used as mutable in some places and immutable in others.

Definition at line 1996 of file webgpu.h.

◆ maxTextureDimension1D

uint32_t WGPULimits::maxTextureDimension1D

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2000 of file webgpu.h.

◆ maxTextureDimension2D

uint32_t WGPULimits::maxTextureDimension2D

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2004 of file webgpu.h.

◆ maxTextureDimension3D

uint32_t WGPULimits::maxTextureDimension3D

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2008 of file webgpu.h.

◆ maxTextureArrayLayers

uint32_t WGPULimits::maxTextureArrayLayers

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2012 of file webgpu.h.

◆ maxBindGroups

uint32_t WGPULimits::maxBindGroups

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2016 of file webgpu.h.

◆ maxBindGroupsPlusVertexBuffers

uint32_t WGPULimits::maxBindGroupsPlusVertexBuffers

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2020 of file webgpu.h.

◆ maxBindingsPerBindGroup

uint32_t WGPULimits::maxBindingsPerBindGroup

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2024 of file webgpu.h.

◆ maxDynamicUniformBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicUniformBuffersPerPipelineLayout

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2028 of file webgpu.h.

◆ maxDynamicStorageBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicStorageBuffersPerPipelineLayout

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2032 of file webgpu.h.

◆ maxSampledTexturesPerShaderStage

uint32_t WGPULimits::maxSampledTexturesPerShaderStage

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2036 of file webgpu.h.

◆ maxSamplersPerShaderStage

uint32_t WGPULimits::maxSamplersPerShaderStage

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2040 of file webgpu.h.

◆ maxStorageBuffersPerShaderStage

uint32_t WGPULimits::maxStorageBuffersPerShaderStage

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2044 of file webgpu.h.

◆ maxStorageTexturesPerShaderStage

uint32_t WGPULimits::maxStorageTexturesPerShaderStage

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2048 of file webgpu.h.

◆ maxUniformBuffersPerShaderStage

uint32_t WGPULimits::maxUniformBuffersPerShaderStage

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2052 of file webgpu.h.

◆ maxUniformBufferBindingSize

uint64_t WGPULimits::maxUniformBufferBindingSize

Defaults to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2056 of file webgpu.h.

◆ maxStorageBufferBindingSize

uint64_t WGPULimits::maxStorageBufferBindingSize

Defaults to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2060 of file webgpu.h.

◆ minUniformBufferOffsetAlignment

uint32_t WGPULimits::minUniformBufferOffsetAlignment

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2064 of file webgpu.h.

◆ minStorageBufferOffsetAlignment

uint32_t WGPULimits::minStorageBufferOffsetAlignment

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2068 of file webgpu.h.

◆ maxVertexBuffers

uint32_t WGPULimits::maxVertexBuffers

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2072 of file webgpu.h.

◆ maxBufferSize

uint64_t WGPULimits::maxBufferSize

Defaults to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2076 of file webgpu.h.

◆ maxVertexAttributes

uint32_t WGPULimits::maxVertexAttributes

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2080 of file webgpu.h.

◆ maxVertexBufferArrayStride

uint32_t WGPULimits::maxVertexBufferArrayStride

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2084 of file webgpu.h.

◆ maxInterStageShaderVariables

uint32_t WGPULimits::maxInterStageShaderVariables

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2088 of file webgpu.h.

◆ maxColorAttachments

uint32_t WGPULimits::maxColorAttachments

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2092 of file webgpu.h.

◆ maxColorAttachmentBytesPerSample

uint32_t WGPULimits::maxColorAttachmentBytesPerSample

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2096 of file webgpu.h.

◆ maxComputeWorkgroupStorageSize

uint32_t WGPULimits::maxComputeWorkgroupStorageSize

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2100 of file webgpu.h.

◆ maxComputeInvocationsPerWorkgroup

uint32_t WGPULimits::maxComputeInvocationsPerWorkgroup

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2104 of file webgpu.h.

◆ maxComputeWorkgroupSizeX

uint32_t WGPULimits::maxComputeWorkgroupSizeX

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2108 of file webgpu.h.

◆ maxComputeWorkgroupSizeY

uint32_t WGPULimits::maxComputeWorkgroupSizeY

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2112 of file webgpu.h.

◆ maxComputeWorkgroupSizeZ

uint32_t WGPULimits::maxComputeWorkgroupSizeZ

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2116 of file webgpu.h.

◆ maxComputeWorkgroupsPerDimension

uint32_t WGPULimits::maxComputeWorkgroupsPerDimension

Defaults to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2120 of file webgpu.h.