texture_multisampled_2d
On this page

texture_multisampled_2d

Type

A multisampled 2D texture, read one sample at a time with textureLoad(t, coords, sampleIndex) and never filtered.

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

type texture_multisampled_2d<E extends TextureElem = f32> = { readonly [textureTag]: readonly [E, '2d-ms'] }

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_multisampled_2d<f32>; it derives the msaaTextureLoad capability, which GLSL ES 3.00 does not have.

Examples

See also

Edit this page Report a problem