texture2dMsfT
Constant in Types
A multisampled 2D texture: the resolve-source binding for an MSAA render target, read one sample at a time with textureLoad inside a per-sample averaging loop.
import { texture2dMsfT } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const texture2dMsfT: { readonly kind: "texture"; readonly dim: "2d-ms"; readonly elem: "f32"; }Description
A host that
chooses the type at emit time (sampleCount > 1 ? texture2dMsfT : texture2dfT) can serve
both the MSAA and the single-sample path from one shader source.
Source
src/core/ir/types.ts, line 595, at commit 26de7be8