createComputePipeline method

GPUComputePipeline createComputePipeline(
  1. GPUComputePipelineDescriptor descriptor
)

The createComputePipeline() method of the GPUDevice interface creates a GPUComputePipeline that can control the compute shader stage and be used in a GPUComputePassEncoder.

Implementation

external GPUComputePipeline createComputePipeline(
    GPUComputePipelineDescriptor descriptor);