GPUBindGroupLayoutDescriptor


public final class GPUBindGroupLayoutDescriptor

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

Summary

Public constructors

GPUBindGroupLayoutDescriptor

Added in 1.0.0-alpha05
public GPUBindGroupLayoutDescriptor(
String label,
 @NonNull GPUBindGroupLayoutEntry[] entries
)

Public methods

getEntries

Added in 1.0.0-alpha05
public final @NonNull GPUBindGroupLayoutEntry[] getEntries()

An array of entries describing the layout of each binding.

getLabel

Added in 1.0.0-alpha05
public final StringgetLabel()

A human-readable label for debugging.

setEntries

Added in 1.0.0-alpha05
public final void setEntries(@NonNull GPUBindGroupLayoutEntry[] value)

An array of entries describing the layout of each binding.

setLabel

Added in 1.0.0-alpha05
public final void setLabel(String value)

A human-readable label for debugging.