BindGroupDescriptor


public final class BindGroupDescriptor


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

Summary

Public constructors

BindGroupDescriptor(
    @NonNull GPUBindGroupLayout layout,
    String label,
    @NonNull BindGroupEntry[] entries
)

Public methods

final @NonNull BindGroupEntry[]

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 BindGroupEntry[] 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

BindGroupDescriptor

Added in 1.0.0-alpha01
public BindGroupDescriptor(
    @NonNull GPUBindGroupLayout layout,
    String label,
    @NonNull BindGroupEntry[] entries
)

Public methods

getEntries

Added in 1.0.0-alpha01
public final @NonNull BindGroupEntry[] getEntries()

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

getLabel

Added in 1.0.0-alpha01
public final String getLabel()

The label for the bind group.

getLayout

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

The layout that the bound resources must conform to.

setEntries

Added in 1.0.0-alpha01
public final void setEntries(@NonNull BindGroupEntry[] entries)

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

setLabel

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

The label for the bind group.

setLayout

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

The layout that the bound resources must conform to.