ComputePipelineDescriptor


class ComputePipelineDescriptor


A descriptor for creating a compute pipeline.

Summary

Public constructors

ComputePipelineDescriptor(
    compute: ComputeState,
    label: String?,
    layout: GPUPipelineLayout?
)

Public properties

ComputeState

The entry point and configuration for the compute shader stage.

String?

The label for the compute pipeline.

GPUPipelineLayout?

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

Public constructors

ComputePipelineDescriptor

Added in 1.0.0-alpha01
ComputePipelineDescriptor(
    compute: ComputeState,
    label: String? = null,
    layout: GPUPipelineLayout? = null
)

Public properties

compute

Added in 1.0.0-alpha01
var computeComputeState

The entry point and configuration for the compute shader stage.

label

Added in 1.0.0-alpha01
var labelString?

The label for the compute pipeline.

layout

Added in 1.0.0-alpha01
var layoutGPUPipelineLayout?

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