samplerComparisonT
On this page

samplerComparisonT

Constant in Types

The comparison sampler textureSampleCompare takes: it compares a reference value against the texel and yields how much of the filter footprint passed, rather than the texel itself.

import { samplerComparisonT } from 'typeshade/core/ir'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

const samplerComparisonT: { readonly kind: "sampler-comparison"; }

Description

Not interchangeable with samplerT in either direction.

See also

Source

src/core/ir/types/texture-types.ts, line 100, at commit af54ddad5

Edit this page Report a problem