---
title: "헬로 유니폼, TypeShade 예제 소스와 컴파일러가 낸 셰이더 코드를 한 화면에서 봅니다"
description: "TypeShade 예제 헬로 유니폼. 단독으로 선언한 declare const scale: uniform<f32>는 두 타깃에서 같은 숫자 호스트 값을 유지합니다."
url: https://typeshade.dev/ko/guide/examples/hello-uniform/
language: ko
---

# 헬로 유니폼

단독으로 선언한 `declare const scale: uniform<f32>`는 두 타깃에서 같은 숫자 호스트 값을 유지합니다.

**hello-uniform.shade.ts**

`TS`

진단 컴파일 대기 중

프로그램을 불러오는 중…

버텍스 진입점과 프래그먼트 진입점이 있는 모듈을 컴파일하면 그려집니다.

편집기에는 이 예제의 파일이 들어 있고, 프로그램은 이 파일과 이 파일이 가져오는 파일로 이루어집니다. 내용을 고치면 브라우저에서 다시 컴파일하고, 편집기 옆의 탭이 따라 바뀝니다.

[GitHub의 파일](https://github.com/typeshade/typeshade/blob/af54ddad5/examples/gallery/hello-uniform/hello-uniform.shade.ts)
