GPUBindGroupDescriptor


class GPUBindGroupDescriptor


A description of a bind group, including its layout and the resources it binds.

Summary

Public constructors

GPUBindGroupDescriptor(
    layout: GPUBindGroupLayout,
    label: String?,
    entries: Array<GPUBindGroupEntry>
)

Public properties

Array<GPUBindGroupEntry>

An array of bind group entries, linking bindings to resources.

String?

The label for the bind group.

GPUBindGroupLayout

The layout that the bound resources must conform to.

Public constructors

GPUBindGroupDescriptor

Added in 1.0.0-alpha02
GPUBindGroupDescriptor(
    layout: GPUBindGroupLayout,
    label: String? = null,
    entries: Array<GPUBindGroupEntry> = arrayOf()
)

Public properties

entries

Added in 1.0.0-alpha02
var entriesArray<GPUBindGroupEntry>

An array of bind group entries, linking bindings to resources.

label

Added in 1.0.0-alpha02
var labelString?

The label for the bind group.

layout

Added in 1.0.0-alpha02
var layoutGPUBindGroupLayout

The layout that the bound resources must conform to.