Interface GPUComputePipelineDescriptor

    interface GPUComputePipelineDescriptor {
        compute: GPUProgrammableStage;
        label?: string;
        layout: "auto" | GPUPipelineLayout;
    }
    Hierarchy

    Properties

    Properties

    Describes the compute shader entry point of the pipeline.

    label?: string

    The initial value of GPUObjectBase.label.

    layout: "auto" | GPUPipelineLayout

    The GPUPipelineLayout for this pipeline, or GPUAutoLayoutMode#"auto" to generate the pipeline layout automatically. Note: If GPUAutoLayoutMode#"auto" is used the pipeline cannot share GPUBindGroups with any other pipelines.