---
title: "textureCubefT: constant in Types, TypeShade API reference"
description: "textureCubefT, a constant in Types. A sampled float cube texture: six faces looked up by a vec3 Direction rather than a coordinate…"
url: https://typeshade.dev/api/texturecubeft/
language: en
---

# `textureCubefT`

Constant in Types

A sampled float cube texture: six faces looked up by a `vec3` Direction rather than a coordinate, the shape an environment map or a skybox takes.

`import { textureCubefT } from 'typeshade/core/ir'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const textureCubefT: { readonly kind: "texture"; readonly dim: "cube"; readonly elem: "f32"; }
```

## Description

Core in both targets, so it needs no [`Capability`](https://typeshade.dev/api/capability/). A cube is only ever sampled: neither target has a texel fetch for one.

## See also

- [`Capability`](https://typeshade.dev/api/capability/)

## Source

[`src/core/ir/types/texture-types.ts`, line 133](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/texture-types.ts#L133), at commit af54ddad5
