GPUComputePipelineDescriptor
public final class GPUComputePipelineDescriptor
Describes a compute pipeline.
Summary
Public constructors |
|---|
GPUComputePipelineDescriptor( |
Public methods |
|
|---|---|
final @NonNull GPUComputeState |
The compute shader stage configuration. |
final String |
getLabel()A human-readable label for debugging. |
final GPUPipelineLayout |
The pipeline layout. |
final void |
setCompute(@NonNull GPUComputeState value)The compute shader stage configuration. |
final void |
A human-readable label for debugging. |
final void |
setLayout(GPUPipelineLayout value)The pipeline layout. |
Public constructors
GPUComputePipelineDescriptor
Added in 1.0.0-alpha05
public GPUComputePipelineDescriptor(
@NonNull GPUComputeState compute,
String label,
GPUPipelineLayout layout
)
Public methods
getCompute
Added in 1.0.0-alpha05
public final @NonNull GPUComputeState getCompute()
The compute shader stage configuration.
getLabel
Added in 1.0.0-alpha05
public final String getLabel()
A human-readable label for debugging.
getLayout
Added in 1.0.0-alpha05
public final GPUPipelineLayout getLayout()
The pipeline layout. If {@code null}, a default layout is inferred.
setCompute
Added in 1.0.0-alpha05
public final void setCompute(@NonNull GPUComputeState value)
The compute shader stage configuration.
setLabel
Added in 1.0.0-alpha05
public final void setLabel(String value)
A human-readable label for debugging.
setLayout
Added in 1.0.0-alpha05
public final void setLayout(GPUPipelineLayout value)
The pipeline layout. If {@code null}, a default layout is inferred.