GPUBindGroupDescriptor


class GPUBindGroupDescriptor


Describes a bind group, which is a collection of resources to be bound to a pipeline.

Summary

Public constructors

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

Public properties

Array<GPUBindGroupEntry>

An array of entries describing the resources in the bind group.

String?

A human-readable label for debugging.

GPUBindGroupLayout

The layout of the bind group.

Public constructors

GPUBindGroupDescriptor

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

Public properties

entries

Added in 1.0.0-alpha04
var entriesArray<GPUBindGroupEntry>

An array of entries describing the resources in the bind group.

label

Added in 1.0.0-alpha04
var labelString?

A human-readable label for debugging.

layout

Added in 1.0.0-alpha04
var layoutGPUBindGroupLayout

The layout of the bind group.