GPUBindGroupLayoutEntry constructor

GPUBindGroupLayoutEntry({
  1. required int binding,
  2. required int visibility,
  3. GPUBufferBindingLayout? buffer,
  4. GPUSamplerBindingLayout? sampler,
  5. GPUTextureBindingLayout? texture,
  6. GPUStorageTextureBindingLayout? storageTexture,
  7. GPUExternalTextureBindingLayout? externalTexture,
})

Implementation

external factory GPUBindGroupLayoutEntry(
    {required int binding,
    required int visibility,
    GPUBufferBindingLayout? buffer,
    GPUSamplerBindingLayout? sampler,
    GPUTextureBindingLayout? texture,
    GPUStorageTextureBindingLayout? storageTexture,
    GPUExternalTextureBindingLayout? externalTexture});