---
title: "texture_depth_cube: type in the TypeShade language reference"
description: "texture_depth_cube, a type in the TypeShade language reference. A cube depth texture, looked up by a vec3 direction, the shadow map of a point light."
url: https://typeshade.dev/reference/types/texture_depth_cube/
language: en
---

# `texture_depth_cube`

Type

A cube depth texture, looked up by a `vec3` direction, the shadow map of a point light.

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

```ts
type texture_depth_cube = { readonly [depthTextureTag]: 'cube' }
```

## Description

Declared bare as `declare const t: texture_depth_cube`.

## Examples

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

## See also

- [Types](https://typeshade.dev/reference/types/)
