Skip to main content
torch.js has not been released yet.
torch.js logotorch.js logotorch.js
PlaygroundContact
Login
Documentation
IntroductionType SafetyTensor ExpressionsTensor IndexingEinsumEinopsAutogradTraining a ModelProfiling & MemoryPyTorch MigrationBest PracticesRuntimesPerformancePyTorch CompatibilityBenchmarksDType Coverage
Introduction
createBufferUsageMapModeWGPUBufferWGPUShaderModuleWGPUBindGroupLayoutWGPUBindGroupWGPUComputePipelineWGPUQuerySetWGPUComputePassEncoderWGPUCommandBufferWGPUCommandEncoderWGPUQueueWGPULimitsBufferDescriptorShaderModuleDescriptorComputePipelineDescriptorBufferBindingBindGroupEntryBindGroupDescriptorQuerySetDescriptorWGPUDeviceWGPUSupportedFeaturesWGPUAdapterWGPU
torch.js· 2026
LegalTerms of UsePrivacy Policy
/
/
  1. docs
  2. wgpu-native
  3. wgpu-native
  4. BindGroupEntry

wgpu-native.BindGroupEntry

export interface BindGroupEntry {
  /**
   * Binding slot number in the bind group layout.
   */
  binding: number;

  /**
   * The resource to bind.
   */
  resource: BufferBinding;
}
binding(number)
– Binding slot number in the bind group layout.
resource(BufferBinding)
– The resource to bind.

Bind group entry.

Describes one resource in a bind group.

Previous
BindGroupDescriptor
Next
BufferBinding