---
title: "workgroup: \"use typeshade\" 파일에서 쓰는 타입 이름 하나, TypeShade 언어 참조"
description: "workgroup (타입), TypeShade 언어 참조 항목입니다. A module variable one workgroup shares, let tile: workgroup<array<f32, 64>>…"
url: https://typeshade.dev/ko/reference/types/workgroup/
language: ko
---

# `workgroup`

타입

A module variable one workgroup shares, `let tile: workgroup<array<f32, 64>>`: zero at the start of each workgroup, read and written by every invocation of the workgroup, and a compute entry's alone.

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

## 구문

```ts
type workgroup<T> = T
```

## 매개변수

- `T`

## 설명

WGSL `var<workgroup>`; its GLSL lowering in a render entry is not supported yet ([Rule 10.5](https://typeshade.dev/ko/reference/rules/10-5/)), and a `@compute` entry that reaches no texture runs on WebGL2 as its pass program, which holds the workgroup memory as layers ([Rule 8.24](https://typeshade.dev/ko/reference/rules/8-24/), [Rule 11.8](https://typeshade.dev/ko/reference/rules/11-8/)).

## 예제

- [`path/parallel-sum/parallel-sum.shade.ts`](https://typeshade.dev/ko/guide/examples/parallel-sum/)
- [`gallery/compute-sync/compute-sync.shade.ts`](https://typeshade.dev/ko/guide/examples/compute-sync/)
- [`gallery/workgroup-override/workgroup-override.shade.ts`](https://typeshade.dev/ko/guide/examples/workgroup-override/)
- [`gallery/workgroup-reduce/workgroup-reduce.shade.ts`](https://typeshade.dev/ko/guide/examples/workgroup-reduce/)
- [`gallery/workgroup-scratch/workgroup-scratch.shade.ts`](https://typeshade.dev/ko/guide/examples/workgroup-scratch/)
- [`gallery/workgroup-tile-2d/workgroup-tile-2d.shade.ts`](https://typeshade.dev/ko/guide/examples/workgroup-tile-2d/)

## 함께 보기

- [타입](https://typeshade.dev/ko/reference/types/)
