texture_1d
Type
A sampled 1D texture, looked up by one f32 coordinate, as a colour ramp is.
The signature, the sentence and any message are the compiler's own text at commit af54ddad5.
Syntax
type texture_1d<E extends TextureElem = f32> = { readonly [textureTag]: readonly [E, '1d'] }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_1d<f32>; TypeShade emits no GLSL ES 3.00 form of it yet, so it derives the texture1d capability and is not supported yet on the WebGL2 tier.