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
 
uint32_t maxImmediateSize
 

Detailed Description

Default values can be set using WGPU_LIMITS_INIT as initializer.

Definition at line 2192 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPULimits::nextInChain

Definition at line 2193 of file webgpu.h.

◆ maxTextureDimension1D

uint32_t WGPULimits::maxTextureDimension1D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2197 of file webgpu.h.

◆ maxTextureDimension2D

uint32_t WGPULimits::maxTextureDimension2D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2201 of file webgpu.h.

◆ maxTextureDimension3D

uint32_t WGPULimits::maxTextureDimension3D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2205 of file webgpu.h.

◆ maxTextureArrayLayers

uint32_t WGPULimits::maxTextureArrayLayers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2209 of file webgpu.h.

◆ maxBindGroups

uint32_t WGPULimits::maxBindGroups

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2213 of file webgpu.h.

◆ maxBindGroupsPlusVertexBuffers

uint32_t WGPULimits::maxBindGroupsPlusVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2217 of file webgpu.h.

◆ maxBindingsPerBindGroup

uint32_t WGPULimits::maxBindingsPerBindGroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2221 of file webgpu.h.

◆ maxDynamicUniformBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicUniformBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2225 of file webgpu.h.

◆ maxDynamicStorageBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicStorageBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2229 of file webgpu.h.

◆ maxSampledTexturesPerShaderStage

uint32_t WGPULimits::maxSampledTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2233 of file webgpu.h.

◆ maxSamplersPerShaderStage

uint32_t WGPULimits::maxSamplersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2237 of file webgpu.h.

◆ maxStorageBuffersPerShaderStage

uint32_t WGPULimits::maxStorageBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2241 of file webgpu.h.

◆ maxStorageTexturesPerShaderStage

uint32_t WGPULimits::maxStorageTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2245 of file webgpu.h.

◆ maxUniformBuffersPerShaderStage

uint32_t WGPULimits::maxUniformBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2249 of file webgpu.h.

◆ maxUniformBufferBindingSize

uint64_t WGPULimits::maxUniformBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2253 of file webgpu.h.

◆ maxStorageBufferBindingSize

uint64_t WGPULimits::maxStorageBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2257 of file webgpu.h.

◆ minUniformBufferOffsetAlignment

uint32_t WGPULimits::minUniformBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2261 of file webgpu.h.

◆ minStorageBufferOffsetAlignment

uint32_t WGPULimits::minStorageBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2265 of file webgpu.h.

◆ maxVertexBuffers

uint32_t WGPULimits::maxVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2269 of file webgpu.h.

◆ maxBufferSize

uint64_t WGPULimits::maxBufferSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2273 of file webgpu.h.

◆ maxVertexAttributes

uint32_t WGPULimits::maxVertexAttributes

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2277 of file webgpu.h.

◆ maxVertexBufferArrayStride

uint32_t WGPULimits::maxVertexBufferArrayStride

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2281 of file webgpu.h.

◆ maxInterStageShaderVariables

uint32_t WGPULimits::maxInterStageShaderVariables

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2285 of file webgpu.h.

◆ maxColorAttachments

uint32_t WGPULimits::maxColorAttachments

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2289 of file webgpu.h.

◆ maxColorAttachmentBytesPerSample

uint32_t WGPULimits::maxColorAttachmentBytesPerSample

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2293 of file webgpu.h.

◆ maxComputeWorkgroupStorageSize

uint32_t WGPULimits::maxComputeWorkgroupStorageSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2297 of file webgpu.h.

◆ maxComputeInvocationsPerWorkgroup

uint32_t WGPULimits::maxComputeInvocationsPerWorkgroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2301 of file webgpu.h.

◆ maxComputeWorkgroupSizeX

uint32_t WGPULimits::maxComputeWorkgroupSizeX

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2305 of file webgpu.h.

◆ maxComputeWorkgroupSizeY

uint32_t WGPULimits::maxComputeWorkgroupSizeY

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2309 of file webgpu.h.

◆ maxComputeWorkgroupSizeZ

uint32_t WGPULimits::maxComputeWorkgroupSizeZ

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2313 of file webgpu.h.

◆ maxComputeWorkgroupsPerDimension

uint32_t WGPULimits::maxComputeWorkgroupsPerDimension

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2317 of file webgpu.h.

◆ maxImmediateSize

uint32_t WGPULimits::maxImmediateSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2321 of file webgpu.h.