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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPULimits::nextInChain

Definition at line 2151 of file webgpu.h.

◆ maxTextureDimension1D

uint32_t WGPULimits::maxTextureDimension1D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2155 of file webgpu.h.

◆ maxTextureDimension2D

uint32_t WGPULimits::maxTextureDimension2D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2159 of file webgpu.h.

◆ maxTextureDimension3D

uint32_t WGPULimits::maxTextureDimension3D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2163 of file webgpu.h.

◆ maxTextureArrayLayers

uint32_t WGPULimits::maxTextureArrayLayers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2167 of file webgpu.h.

◆ maxBindGroups

uint32_t WGPULimits::maxBindGroups

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2171 of file webgpu.h.

◆ maxBindGroupsPlusVertexBuffers

uint32_t WGPULimits::maxBindGroupsPlusVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2175 of file webgpu.h.

◆ maxBindingsPerBindGroup

uint32_t WGPULimits::maxBindingsPerBindGroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2179 of file webgpu.h.

◆ maxDynamicUniformBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicUniformBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2183 of file webgpu.h.

◆ maxDynamicStorageBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicStorageBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2187 of file webgpu.h.

◆ maxSampledTexturesPerShaderStage

uint32_t WGPULimits::maxSampledTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2191 of file webgpu.h.

◆ maxSamplersPerShaderStage

uint32_t WGPULimits::maxSamplersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2195 of file webgpu.h.

◆ maxStorageBuffersPerShaderStage

uint32_t WGPULimits::maxStorageBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2199 of file webgpu.h.

◆ maxStorageTexturesPerShaderStage

uint32_t WGPULimits::maxStorageTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2203 of file webgpu.h.

◆ maxUniformBuffersPerShaderStage

uint32_t WGPULimits::maxUniformBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2207 of file webgpu.h.

◆ maxUniformBufferBindingSize

uint64_t WGPULimits::maxUniformBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2211 of file webgpu.h.

◆ maxStorageBufferBindingSize

uint64_t WGPULimits::maxStorageBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2215 of file webgpu.h.

◆ minUniformBufferOffsetAlignment

uint32_t WGPULimits::minUniformBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2219 of file webgpu.h.

◆ minStorageBufferOffsetAlignment

uint32_t WGPULimits::minStorageBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2223 of file webgpu.h.

◆ maxVertexBuffers

uint32_t WGPULimits::maxVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2227 of file webgpu.h.

◆ maxBufferSize

uint64_t WGPULimits::maxBufferSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2231 of file webgpu.h.

◆ maxVertexAttributes

uint32_t WGPULimits::maxVertexAttributes

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2235 of file webgpu.h.

◆ maxVertexBufferArrayStride

uint32_t WGPULimits::maxVertexBufferArrayStride

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2239 of file webgpu.h.

◆ maxInterStageShaderVariables

uint32_t WGPULimits::maxInterStageShaderVariables

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2243 of file webgpu.h.

◆ maxColorAttachments

uint32_t WGPULimits::maxColorAttachments

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2247 of file webgpu.h.

◆ maxColorAttachmentBytesPerSample

uint32_t WGPULimits::maxColorAttachmentBytesPerSample

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2251 of file webgpu.h.

◆ maxComputeWorkgroupStorageSize

uint32_t WGPULimits::maxComputeWorkgroupStorageSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2255 of file webgpu.h.

◆ maxComputeInvocationsPerWorkgroup

uint32_t WGPULimits::maxComputeInvocationsPerWorkgroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2259 of file webgpu.h.

◆ maxComputeWorkgroupSizeX

uint32_t WGPULimits::maxComputeWorkgroupSizeX

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2263 of file webgpu.h.

◆ maxComputeWorkgroupSizeY

uint32_t WGPULimits::maxComputeWorkgroupSizeY

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2267 of file webgpu.h.

◆ maxComputeWorkgroupSizeZ

uint32_t WGPULimits::maxComputeWorkgroupSizeZ

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2271 of file webgpu.h.

◆ maxComputeWorkgroupsPerDimension

uint32_t WGPULimits::maxComputeWorkgroupsPerDimension

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2275 of file webgpu.h.