Interface GPUShaderModuleCompilationHint

    interface GPUShaderModuleCompilationHint {
        entryPoint: string;
        layout?: "auto" | GPUPipelineLayout;
    }

    Properties

    Properties

    entryPoint: string
    layout?: "auto" | GPUPipelineLayout

    A GPUPipelineLayout that the GPUShaderModule may be used with in a future () or GPUDevice#createRenderPipeline call. If set to GPUAutoLayoutMode#"auto" the layout will be the [$default pipeline layout$] for the entry point associated with this hint will be used.