GPUComputePipelineDescriptor
public final class GPUComputePipelineDescriptor
A descriptor for creating a compute pipeline.
Summary
Public constructors |
|---|
GPUComputePipelineDescriptor( |
Public methods |
|
|---|---|
final @NonNull GPUComputeState |
The entry point and configuration for the compute shader stage. |
final String |
getLabel()The label for the compute pipeline. |
final GPUPipelineLayout |
The layout of the bind groups and push constants used by the pipeline. |
final void |
setCompute(@NonNull GPUComputeState compute)The entry point and configuration for the compute shader stage. |
final void |
The label for the compute pipeline. |
final void |
setLayout(GPUPipelineLayout layout)The layout of the bind groups and push constants used by the pipeline. |
Public constructors
GPUComputePipelineDescriptor
public GPUComputePipelineDescriptor(
@NonNull GPUComputeState compute,
String label,
GPUPipelineLayout layout
)
Public methods
getCompute
public final @NonNull GPUComputeState getCompute()
The entry point and configuration for the compute shader stage.
getLayout
public final GPUPipelineLayout getLayout()
The layout of the bind groups and push constants used by the pipeline.
setCompute
public final void setCompute(@NonNull GPUComputeState compute)
The entry point and configuration for the compute shader stage.
setLabel
public final void setLabel(String label)
The label for the compute pipeline.
setLayout
public final void setLayout(GPUPipelineLayout layout)
The layout of the bind groups and push constants used by the pipeline.