std1.0.0-beta-7 SafeC docs

std :: ml::webgpu_api

Struct std::WGPULimits

#include <std/ml/webgpu_api.h> source

struct WGPULimits {
    struct WGPUChainedStruct* nextInChain;
    unsigned int maxTextureDimension1D;
    unsigned int maxTextureDimension2D;
    unsigned int maxTextureDimension3D;
    unsigned int maxTextureArrayLayers;
    unsigned int maxBindGroups;
    unsigned int maxBindGroupsPlusVertexBuffers;
    unsigned int maxBindingsPerBindGroup;
    unsigned int maxDynamicUniformBuffersPerPipelineLayout;
    unsigned int maxDynamicStorageBuffersPerPipelineLayout;
    unsigned int maxSampledTexturesPerShaderStage;
    unsigned int maxSamplersPerShaderStage;
    unsigned int maxStorageBuffersPerShaderStage;
    unsigned int maxStorageTexturesPerShaderStage;
    unsigned int maxUniformBuffersPerShaderStage;
    unsigned long maxUniformBufferBindingSize;
    unsigned long maxStorageBufferBindingSize;
    unsigned int minUniformBufferOffsetAlignment;
    unsigned int minStorageBufferOffsetAlignment;
    unsigned int maxVertexBuffers;
    unsigned long maxBufferSize;
    unsigned int maxVertexAttributes;
    unsigned int maxVertexBufferArrayStride;
    unsigned int maxInterStageShaderVariables;
    unsigned int maxColorAttachments;
    unsigned int maxColorAttachmentBytesPerSample;
    unsigned int maxComputeWorkgroupStorageSize;
    unsigned int maxComputeInvocationsPerWorkgroup;
    unsigned int maxComputeWorkgroupSizeX;
    unsigned int maxComputeWorkgroupSizeY;
    unsigned int maxComputeWorkgroupSizeZ;
    unsigned int maxComputeWorkgroupsPerDimension;
    unsigned int maxImmediateSize;
}

Fields

§struct WGPUChainedStruct* nextInChainsource
§unsigned int maxTextureDimension1Dsource
§unsigned int maxTextureDimension2Dsource
§unsigned int maxTextureDimension3Dsource
§unsigned int maxTextureArrayLayerssource
§unsigned int maxBindGroupssource
§unsigned int maxBindGroupsPlusVertexBufferssource
§unsigned int maxBindingsPerBindGroupsource
§unsigned int maxDynamicUniformBuffersPerPipelineLayoutsource
§unsigned int maxDynamicStorageBuffersPerPipelineLayoutsource
§unsigned int maxSampledTexturesPerShaderStagesource
§unsigned int maxSamplersPerShaderStagesource
§unsigned int maxStorageBuffersPerShaderStagesource
§unsigned int maxStorageTexturesPerShaderStagesource
§unsigned int maxUniformBuffersPerShaderStagesource
§unsigned long maxUniformBufferBindingSizesource
§unsigned long maxStorageBufferBindingSizesource
§unsigned int minUniformBufferOffsetAlignmentsource
§unsigned int minStorageBufferOffsetAlignmentsource
§unsigned int maxVertexBufferssource
§unsigned long maxBufferSizesource
§unsigned int maxVertexAttributessource
§unsigned int maxVertexBufferArrayStridesource
§unsigned int maxInterStageShaderVariablessource
§unsigned int maxColorAttachmentssource
§unsigned int maxColorAttachmentBytesPerSamplesource
§unsigned int maxComputeWorkgroupStorageSizesource
§unsigned int maxComputeInvocationsPerWorkgroupsource
§unsigned int maxComputeWorkgroupSizeXsource
§unsigned int maxComputeWorkgroupSizeYsource
§unsigned int maxComputeWorkgroupSizeZsource
§unsigned int maxComputeWorkgroupsPerDimensionsource
§unsigned int maxImmediateSizesource