std1.0.0-beta-7 SafeC docs

std :: ml::webgpu_api

Struct std::WGPUBindGroupLayoutEntry

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

struct WGPUBindGroupLayoutEntry {
    struct WGPUChainedStruct* nextInChain;
    unsigned int binding;
    unsigned long visibility;
    unsigned int bindingArraySize;
    struct WGPUBufferBindingLayout buffer;
    unsigned long unusedBindings[8];
}

A layout entry for a buffer binding; the sampler / texture / storage texture members (64 bytes) stay zero (BindingNotUsed).

Fields

§struct WGPUChainedStruct* nextInChainsource
§unsigned int bindingsource
§unsigned long visibilitysource
§unsigned int bindingArraySizesource
§unsigned long unusedBindings[8]source