GPUComputePipelineDescriptor


class GPUComputePipelineDescriptor


Describes a compute pipeline.

Summary

Public constructors

GPUComputePipelineDescriptor(
    compute: GPUComputeState,
    label: String?,
    layout: GPUPipelineLayout?
)

Public properties

GPUComputeState

The compute shader stage configuration.

String?

A human-readable label for debugging.

GPUPipelineLayout?

The pipeline layout.

Public constructors

GPUComputePipelineDescriptor

Added in 1.0.0-alpha04
GPUComputePipelineDescriptor(
    compute: GPUComputeState,
    label: String? = null,
    layout: GPUPipelineLayout? = null
)

Public properties

compute

Added in 1.0.0-alpha04
var computeGPUComputeState

The compute shader stage configuration.

label

Added in 1.0.0-alpha04
var labelString?

A human-readable label for debugging.

layout

Added in 1.0.0-alpha04
var layoutGPUPipelineLayout?

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