EntryParam
인터페이스, IR 분류
진입점 매개변수입니다. @builtin(...) 또는 @location(n)을 담습니다.
import type { EntryParam } from 'typeshade'import type { EntryParam } from 'typeshade/core/ir'
설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.
구문
interface EntryParam { readonly name: string; readonly type: ShaderType; readonly builtin?: string; readonly location?: number;}인스턴스 속성
name읽기 전용stringtype읽기 전용ShaderTypebuiltin선택 사항읽기 전용stringlocation선택 사항읽기 전용number
소스
src/core/ir/nodes/entry-and-directive.ts, 15행, 커밋 af54ddad5 기준