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'

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

Syntax

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

Description

Not interchangeable with samplerT in either direction.

See also

Source

src/core/ir/types.ts, line 672, at commit 26de7be8

Edit this page Report a problem