GPUComputePipelineDescriptor


public final class GPUComputePipelineDescriptor


Describes a compute pipeline.

Summary

Public constructors

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

Public methods

final @NonNull GPUComputeState

The compute shader stage configuration.

final String

A human-readable label for debugging.

final GPUPipelineLayout

The pipeline layout.

final void

The compute shader stage configuration.

final void

A human-readable label for debugging.

final void

The pipeline layout.

Public constructors

GPUComputePipelineDescriptor

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

Public methods

getCompute

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

The compute shader stage configuration.

getLabel

Added in 1.0.0-alpha04
public final String getLabel()

A human-readable label for debugging.

getLayout

Added in 1.0.0-alpha04
public final GPUPipelineLayout getLayout()

The pipeline layout. If {@code null}, a default layout is inferred.

setCompute

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

The compute shader stage configuration.

setLabel

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

A human-readable label for debugging.

setLayout

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

The pipeline layout. If {@code null}, a default layout is inferred.