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/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
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/texture-types.ts, line 23, at commit af54ddad5