CompareFunction
Type in Runtime
WebGPU GPUCompareFunction: how a depth test compares a fragment with the stored value.
import type { CompareFunction } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
type CompareFunction = (typeof COMPARE_FUNCTIONS)[number];Source
src/runtime/program.ts, line 104, at commit af54ddad5