GPUBindGroupLayoutDescriptor


class GPUBindGroupLayoutDescriptor


Describes the layout of a bind group, specifying the types of resources it contains.

Summary

Public constructors

Public properties

Array<GPUBindGroupLayoutEntry>

An array of entries describing the layout of each binding.

String?

A human-readable label for debugging.

Public constructors

GPUBindGroupLayoutDescriptor

Added in 1.0.0-alpha04
GPUBindGroupLayoutDescriptor(
    label: String? = null,
    entries: Array<GPUBindGroupLayoutEntry> = arrayOf()
)

Public properties

entries

Added in 1.0.0-alpha04
var entriesArray<GPUBindGroupLayoutEntry>

An array of entries describing the layout of each binding.

label

Added in 1.0.0-alpha04
var labelString?

A human-readable label for debugging.