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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPULimits::nextInChain

Definition at line 3918 of file webgpu.h.

◆ maxTextureDimension1D

uint32_t WGPULimits::maxTextureDimension1D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3922 of file webgpu.h.

◆ maxTextureDimension2D

uint32_t WGPULimits::maxTextureDimension2D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3926 of file webgpu.h.

◆ maxTextureDimension3D

uint32_t WGPULimits::maxTextureDimension3D

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3930 of file webgpu.h.

◆ maxTextureArrayLayers

uint32_t WGPULimits::maxTextureArrayLayers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3934 of file webgpu.h.

◆ maxBindGroups

uint32_t WGPULimits::maxBindGroups

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3938 of file webgpu.h.

◆ maxBindGroupsPlusVertexBuffers

uint32_t WGPULimits::maxBindGroupsPlusVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3942 of file webgpu.h.

◆ maxBindingsPerBindGroup

uint32_t WGPULimits::maxBindingsPerBindGroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3946 of file webgpu.h.

◆ maxDynamicUniformBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicUniformBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3950 of file webgpu.h.

◆ maxDynamicStorageBuffersPerPipelineLayout

uint32_t WGPULimits::maxDynamicStorageBuffersPerPipelineLayout

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3954 of file webgpu.h.

◆ maxSampledTexturesPerShaderStage

uint32_t WGPULimits::maxSampledTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3958 of file webgpu.h.

◆ maxSamplersPerShaderStage

uint32_t WGPULimits::maxSamplersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3962 of file webgpu.h.

◆ maxStorageBuffersPerShaderStage

uint32_t WGPULimits::maxStorageBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3966 of file webgpu.h.

◆ maxStorageTexturesPerShaderStage

uint32_t WGPULimits::maxStorageTexturesPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3970 of file webgpu.h.

◆ maxUniformBuffersPerShaderStage

uint32_t WGPULimits::maxUniformBuffersPerShaderStage

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3974 of file webgpu.h.

◆ maxUniformBufferBindingSize

uint64_t WGPULimits::maxUniformBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 3978 of file webgpu.h.

◆ maxStorageBufferBindingSize

uint64_t WGPULimits::maxStorageBufferBindingSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 3982 of file webgpu.h.

◆ minUniformBufferOffsetAlignment

uint32_t WGPULimits::minUniformBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3986 of file webgpu.h.

◆ minStorageBufferOffsetAlignment

uint32_t WGPULimits::minStorageBufferOffsetAlignment

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3990 of file webgpu.h.

◆ maxVertexBuffers

uint32_t WGPULimits::maxVertexBuffers

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 3994 of file webgpu.h.

◆ maxBufferSize

uint64_t WGPULimits::maxBufferSize

The INIT macro sets this to WGPU_LIMIT_U64_UNDEFINED.

Definition at line 3998 of file webgpu.h.

◆ maxVertexAttributes

uint32_t WGPULimits::maxVertexAttributes

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4002 of file webgpu.h.

◆ maxVertexBufferArrayStride

uint32_t WGPULimits::maxVertexBufferArrayStride

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4006 of file webgpu.h.

◆ maxInterStageShaderVariables

uint32_t WGPULimits::maxInterStageShaderVariables

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4010 of file webgpu.h.

◆ maxColorAttachments

uint32_t WGPULimits::maxColorAttachments

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4014 of file webgpu.h.

◆ maxColorAttachmentBytesPerSample

uint32_t WGPULimits::maxColorAttachmentBytesPerSample

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4018 of file webgpu.h.

◆ maxComputeWorkgroupStorageSize

uint32_t WGPULimits::maxComputeWorkgroupStorageSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4022 of file webgpu.h.

◆ maxComputeInvocationsPerWorkgroup

uint32_t WGPULimits::maxComputeInvocationsPerWorkgroup

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4026 of file webgpu.h.

◆ maxComputeWorkgroupSizeX

uint32_t WGPULimits::maxComputeWorkgroupSizeX

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4030 of file webgpu.h.

◆ maxComputeWorkgroupSizeY

uint32_t WGPULimits::maxComputeWorkgroupSizeY

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4034 of file webgpu.h.

◆ maxComputeWorkgroupSizeZ

uint32_t WGPULimits::maxComputeWorkgroupSizeZ

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4038 of file webgpu.h.

◆ maxComputeWorkgroupsPerDimension

uint32_t WGPULimits::maxComputeWorkgroupsPerDimension

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4042 of file webgpu.h.

◆ maxImmediateSize

uint32_t WGPULimits::maxImmediateSize

The INIT macro sets this to WGPU_LIMIT_U32_UNDEFINED.

Definition at line 4046 of file webgpu.h.