---
title: "texture_cube_array: type in the TypeShade language reference"
description: "texture_cube_array, a type in the TypeShade language reference. An array of sampled cube textures in one binding, looked up by a direction and a layer."
url: https://typeshade.dev/reference/types/texture_cube_array/
language: en
---

# `texture_cube_array`

Type

An array of sampled cube textures in one binding, looked up by a direction and a layer.

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

## Syntax

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

A signature may name a type the ambient file declares for its own use. These are those declarations.

**`TextureElem`**

`type TextureElem = f32 | i32 | u32`

## Parameters

- `E` optional `TextureElem`

## Description

Declared as `declare const t: texture_cube_array<f32>`; TypeShade emits no GLSL ES 3.00 form of it yet, so it derives the `textureCubeArray` capability and is not supported yet on the WebGL2 tier.

## Examples

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

## See also

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