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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPULimits::nextInChain

Definition at line 2192 of file webgpu.h.

◆ maxTextureDimension1D

uint32_t WGPULimits::maxTextureDimension1D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2196 of file webgpu.h.

◆ maxTextureDimension2D

uint32_t WGPULimits::maxTextureDimension2D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2200 of file webgpu.h.

◆ maxTextureDimension3D

uint32_t WGPULimits::maxTextureDimension3D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2204 of file webgpu.h.

◆ maxTextureArrayLayers

uint32_t WGPULimits::maxTextureArrayLayers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2208 of file webgpu.h.

◆ maxBindGroups

uint32_t WGPULimits::maxBindGroups

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2212 of file webgpu.h.

◆ maxBindGroupsPlusVertexBuffers

uint32_t WGPULimits::maxBindGroupsPlusVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2216 of file webgpu.h.

◆ maxBindingsPerBindGroup

uint32_t WGPULimits::maxBindingsPerBindGroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2220 of file webgpu.h.

◆ maxDynamicUniformBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicUniformBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2224 of file webgpu.h.

◆ maxDynamicStorageBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicStorageBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2228 of file webgpu.h.

◆ maxSampledTexturesPerShaderStage

uint32_t WGPULimits::maxSampledTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2232 of file webgpu.h.

◆ maxSamplersPerShaderStage

uint32_t WGPULimits::maxSamplersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2236 of file webgpu.h.

◆ maxStorageBuffersPerShaderStage

uint32_t WGPULimits::maxStorageBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2240 of file webgpu.h.

◆ maxStorageTexturesPerShaderStage

uint32_t WGPULimits::maxStorageTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2244 of file webgpu.h.

◆ maxUniformBuffersPerShaderStage

uint32_t WGPULimits::maxUniformBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2248 of file webgpu.h.

◆ maxUniformBufferBindingSize

uint64_t WGPULimits::maxUniformBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2252 of file webgpu.h.

◆ maxStorageBufferBindingSize

uint64_t WGPULimits::maxStorageBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2256 of file webgpu.h.

◆ minUniformBufferOffsetAlignment

uint32_t WGPULimits::minUniformBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2260 of file webgpu.h.

◆ minStorageBufferOffsetAlignment

uint32_t WGPULimits::minStorageBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2264 of file webgpu.h.

◆ maxVertexBuffers

uint32_t WGPULimits::maxVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2268 of file webgpu.h.

◆ maxBufferSize

uint64_t WGPULimits::maxBufferSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 2272 of file webgpu.h.

◆ maxVertexAttributes

uint32_t WGPULimits::maxVertexAttributes

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2276 of file webgpu.h.

◆ maxVertexBufferArrayStride

uint32_t WGPULimits::maxVertexBufferArrayStride

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2280 of file webgpu.h.

◆ maxInterStageShaderVariables

uint32_t WGPULimits::maxInterStageShaderVariables

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2284 of file webgpu.h.

◆ maxColorAttachments

uint32_t WGPULimits::maxColorAttachments

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2288 of file webgpu.h.

◆ maxColorAttachmentBytesPerSample

uint32_t WGPULimits::maxColorAttachmentBytesPerSample

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2292 of file webgpu.h.

◆ maxComputeWorkgroupStorageSize

uint32_t WGPULimits::maxComputeWorkgroupStorageSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2296 of file webgpu.h.

◆ maxComputeInvocationsPerWorkgroup

uint32_t WGPULimits::maxComputeInvocationsPerWorkgroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2300 of file webgpu.h.

◆ maxComputeWorkgroupSizeX

uint32_t WGPULimits::maxComputeWorkgroupSizeX

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2304 of file webgpu.h.

◆ maxComputeWorkgroupSizeY

uint32_t WGPULimits::maxComputeWorkgroupSizeY

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2308 of file webgpu.h.

◆ maxComputeWorkgroupSizeZ

uint32_t WGPULimits::maxComputeWorkgroupSizeZ

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2312 of file webgpu.h.

◆ maxComputeWorkgroupsPerDimension

uint32_t WGPULimits::maxComputeWorkgroupsPerDimension

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2316 of file webgpu.h.

◆ maxImmediateSize

uint32_t WGPULimits::maxImmediateSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 2320 of file webgpu.h.