BindGroupDescriptor


class BindGroupDescriptor


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

Summary

Public constructors

BindGroupDescriptor(
    layout: GPUBindGroupLayout,
    label: String?,
    entries: Array<BindGroupEntry>
)

Public properties

Array<BindGroupEntry>

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

BindGroupDescriptor

Added in 1.0.0-alpha01
BindGroupDescriptor(
    layout: GPUBindGroupLayout,
    label: String? = null,
    entries: Array<BindGroupEntry> = arrayOf()
)

Public properties

entries

Added in 1.0.0-alpha01
var entriesArray<BindGroupEntry>

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

label

Added in 1.0.0-alpha01
var labelString?

The label for the bind group.

layout

Added in 1.0.0-alpha01
var layoutGPUBindGroupLayout

The layout that the bound resources must conform to.