ComputePipelineDescriptor


public final class ComputePipelineDescriptor


A descriptor for creating a compute pipeline.

Summary

Public constructors

ComputePipelineDescriptor(
    @NonNull ComputeState compute,
    String label,
    GPUPipelineLayout layout
)

Public methods

final @NonNull ComputeState

The entry point and configuration for the compute shader stage.

final String

The label for the compute pipeline.

final GPUPipelineLayout

The layout of the bind groups and push constants used by the pipeline.

final void

The entry point and configuration for the compute shader stage.

final void

The label for the compute pipeline.

final void

The layout of the bind groups and push constants used by the pipeline.

Public constructors

ComputePipelineDescriptor

Added in 1.0.0-alpha01
public ComputePipelineDescriptor(
    @NonNull ComputeState compute,
    String label,
    GPUPipelineLayout layout
)

Public methods

getCompute

Added in 1.0.0-alpha01
public final @NonNull ComputeState getCompute()

The entry point and configuration for the compute shader stage.

getLabel

Added in 1.0.0-alpha01
public final String getLabel()

The label for the compute pipeline.

getLayout

Added in 1.0.0-alpha01
public final GPUPipelineLayout getLayout()

The layout of the bind groups and push constants used by the pipeline.

setCompute

Added in 1.0.0-alpha01
public final void setCompute(@NonNull ComputeState compute)

The entry point and configuration for the compute shader stage.

setLabel

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

The label for the compute pipeline.

setLayout

Added in 1.0.0-alpha01
public final void setLayout(GPUPipelineLayout layout)

The layout of the bind groups and push constants used by the pipeline.