---
title: "texture_cube: TypeShade 언어 참조에 실린 타입 이름과 그 시그니처"
description: "texture_cube (타입), TypeShade 언어 참조 항목입니다. A sampled cube texture, looked up by a vec3 direction, as an environment map is."
url: https://typeshade.dev/ko/reference/types/texture_cube/
language: ko
---

# `texture_cube`

타입

A sampled cube texture, looked up by a `vec3` direction, as an environment map is.

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

## 구문

```ts
type texture_cube<E extends TextureElem = f32> = { readonly [textureTag]: readonly [E, 'cube'] }
```

시그니처에는 앰비언트 파일이 스스로 쓰려고 선언한 타입이 나올 수 있습니다. 아래가 그 선언입니다.

**`TextureElem`**

`type TextureElem = f32 | i32 | u32`

## 매개변수

- `E` 선택 사항 `TextureElem`

## 설명

Declared as `declare const t: texture_cube<f32>`.

## 예제

- [`gallery/cube-env/cube-env.shade.ts`](https://typeshade.dev/ko/guide/examples/cube-env/)

## 함께 보기

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