textureCubefT
On this page

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'

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

Syntax

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

Description

Core in both targets, so it needs no Capability. A cube is only ever sampled: neither target has a texel fetch for one.

See also

Source

src/core/ir/types.ts, line 705, at commit 26de7be8

Edit this page Report a problem