---
title: "EntryParam: TypeShade 셰이더 API의 IR 분류 인터페이스 참조 문서"
description: "EntryParam, TypeShade API의 IR 분류에 속하는 인터페이스입니다. 진입점 매개변수입니다. @builtin(...) 또는 @location(n)을 담습니다."
url: https://typeshade.dev/ko/api/entryparam/
language: ko
---

# `EntryParam`

인터페이스, IR 분류

진입점 매개변수입니다. `@builtin(...)` 또는 `@location(n)`을 담습니다.

`import type { EntryParam } from 'typeshade'`
`import type { EntryParam } from 'typeshade/core/ir'`

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

## 구문

```ts
interface EntryParam {
  readonly name: string;
  readonly type: ShaderType;
  readonly builtin?: string;
  readonly location?: number;
}
```

## 인스턴스 속성

**`name` 읽기 전용 `string`**

**`type` 읽기 전용 `ShaderType`**

**`builtin` 선택 사항 읽기 전용 `string`**

**`location` 선택 사항 읽기 전용 `number`**

## 소스

[`src/core/ir/nodes/entry-and-directive.ts`, 15행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/nodes/entry-and-directive.ts#L15), 커밋 af54ddad5 기준
