GPUBindGroupDescriptor


public final class GPUBindGroupDescriptor


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

Summary

Public constructors

GPUBindGroupDescriptor(
    @NonNull GPUBindGroupLayout layout,
    String label,
    @NonNull GPUBindGroupEntry[] entries
)

Public methods

final @NonNull GPUBindGroupEntry[]

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

final String

The label for the bind group.

final @NonNull GPUBindGroupLayout

The layout that the bound resources must conform to.

final void
setEntries(@NonNull GPUBindGroupEntry[] entries)

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

final void

The label for the bind group.

final void

The layout that the bound resources must conform to.

Public constructors

GPUBindGroupDescriptor

Added in 1.0.0-alpha02
public GPUBindGroupDescriptor(
    @NonNull GPUBindGroupLayout layout,
    String label,
    @NonNull GPUBindGroupEntry[] entries
)

Public methods

getEntries

Added in 1.0.0-alpha02
public final @NonNull GPUBindGroupEntry[] getEntries()

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

getLabel

Added in 1.0.0-alpha02
public final String getLabel()

The label for the bind group.

getLayout

Added in 1.0.0-alpha02
public final @NonNull GPUBindGroupLayout getLayout()

The layout that the bound resources must conform to.

setEntries

Added in 1.0.0-alpha02
public final void setEntries(@NonNull GPUBindGroupEntry[] entries)

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

setLabel

Added in 1.0.0-alpha02
public final void setLabel(String label)

The label for the bind group.

setLayout

Added in 1.0.0-alpha02
public final void setLayout(@NonNull GPUBindGroupLayout layout)

The layout that the bound resources must conform to.