RawPayload
타입, IR 분류
The argument to rawStmt: the wgsl and glsl source text of a raw statement.
import type { RawPayload } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
type RawPayload = | { readonly wgsl: string; readonly glsl?: string } | { readonly wgsl?: string; readonly glsl: string };설명
At least one side is required, so rawStmt({}) does not compile.
함께 보기
소스
src/core/ir/nodes.ts, 361행, 커밋 c66579bf 기준