GPUComputePipelineDescriptor
class GPUComputePipelineDescriptor
A descriptor for creating a compute pipeline.
Summary
Public constructors |
|---|
GPUComputePipelineDescriptor( |
Public properties |
|
|---|---|
GPUComputeState |
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
GPUComputePipelineDescriptor
Added in 1.0.0-alpha02
GPUComputePipelineDescriptor(
compute: GPUComputeState,
label: String? = null,
layout: GPUPipelineLayout? = null
)
Public properties
compute
Added in 1.0.0-alpha02
var compute: GPUComputeState
The entry point and configuration for the compute shader stage.
layout
Added in 1.0.0-alpha02
var layout: GPUPipelineLayout?
The layout of the bind groups and push constants used by the pipeline.