GPUBindGroupDescriptor


public final class GPUBindGroupDescriptor


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

Summary

Public constructors

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

Public methods

final @NonNull GPUBindGroupEntry[]

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

final String

A human-readable label for debugging.

final @NonNull GPUBindGroupLayout

The layout of the bind group.

final void
setEntries(@NonNull GPUBindGroupEntry[] entries)

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

final void

A human-readable label for debugging.

final void

The layout of the bind group.

Public constructors

GPUBindGroupDescriptor

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

Public methods

getEntries

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

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

getLabel

Added in 1.0.0-alpha04
public final String getLabel()

A human-readable label for debugging.

getLayout

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

The layout of the bind group.

setEntries

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

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

setLabel

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

A human-readable label for debugging.

setLayout

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

The layout of the bind group.