texture_cube
Type
A sampled cube texture, looked up by a vec3 direction, as an environment map is.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
type texture_cube<E extends TextureElem = f32> = { readonly [textureTag]: readonly [E, 'cube'] }A signature may name a type the ambient file declares for its own use. These are those declarations.
TextureElemtype TextureElem = f32 | i32 | u32
Parameters
-
EoptionalTextureElem
Description
Declared as declare const t: texture_cube<f32>.