GPUComputePipelineDescriptor


public final class GPUComputePipelineDescriptor


A descriptor for creating a compute pipeline.

Summary

Public constructors

GPUComputePipelineDescriptor(
    @NonNull GPUComputeState compute,
    String label,
    GPUPipelineLayout layout
)

Public methods

final @NonNull GPUComputeState

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

GPUComputePipelineDescriptor

Added in 1.0.0-alpha02
public GPUComputePipelineDescriptor(
    @NonNull GPUComputeState compute,
    String label,
    GPUPipelineLayout layout
)

Public methods

getCompute

Added in 1.0.0-alpha02
public final @NonNull GPUComputeState getCompute()

The entry point and configuration for the compute shader stage.

getLabel

Added in 1.0.0-alpha02
public final String getLabel()

The label for the compute pipeline.

getLayout

Added in 1.0.0-alpha02
public final GPUPipelineLayout getLayout()

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

setCompute

Added in 1.0.0-alpha02
public final void setCompute(@NonNull GPUComputeState compute)

The entry point and configuration for the compute shader stage.

setLabel

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

The label for the compute pipeline.

setLayout

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

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