GPUBindGroupDescriptor
public final class GPUBindGroupDescriptor
A description of a bind group, including its layout and the resources it binds.
Summary
Public constructors |
|---|
GPUBindGroupDescriptor( |
Public methods |
|
|---|---|
final @NonNull GPUBindGroupEntry[] |
An array of bind group entries, linking bindings to resources. |
final String |
getLabel()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 |
setLayout(@NonNull GPUBindGroupLayout layout)The layout that the bound resources must conform to. |
Public constructors
GPUBindGroupDescriptor
public GPUBindGroupDescriptor(
@NonNull GPUBindGroupLayout layout,
String label,
@NonNull GPUBindGroupEntry[] entries
)
Public methods
getEntries
public final @NonNull GPUBindGroupEntry[] getEntries()
An array of bind group entries, linking bindings to resources.
getLayout
public final @NonNull GPUBindGroupLayout getLayout()
The layout that the bound resources must conform to.
setEntries
public final void setEntries(@NonNull GPUBindGroupEntry[] entries)
An array of bind group entries, linking bindings to resources.
setLabel
public final void setLabel(String label)
The label for the bind group.
setLayout
public final void setLayout(@NonNull GPUBindGroupLayout layout)
The layout that the bound resources must conform to.