ComputePipeline
이 페이지에서

ComputePipeline

인터페이스, 런타임 분류

A compute pipeline: one entry, dispatched with bindings by name.

import type { ComputePipeline } from 'typeshade/runtime'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

interface ComputePipeline {
readonly entry: string;
dispatch(target: object, bindings: Bindings, workgroups: number | readonly number[]): void;
}

인스턴스 속성

entry읽기 전용 string

인스턴스 메서드

dispatch (target: object, bindings: Bindings, workgroups: number | readonly number[]): void

Record a dispatch into the host’s encoder or compute pass, or a frame’s.

소스

src/runtime/program.ts, 137행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고