createRuntime
이 페이지에서

createRuntime()

함수, 런타임 분류

Make a runtime: on the host's device, or on one it requests with the features the programs need.

import { createRuntime } from 'typeshade/runtime'

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

구문

async function createRuntime<D extends object = object>(
options: RuntimeOptions<D> = {},
): Promise<Runtime<D>>

매개변수

options선택 사항 RuntimeOptions<D>

반환값

Promise<Runtime<D>>

설명

Rejects where there is no WebGPU.

소스

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

이 페이지 편집 문제 보고