TexelCompareOptions: {
    maxDiffULPsForFloatFormat?: number;
    maxDiffULPsForNormFormat?: number;
    maxFractionalDiff?: number;
    maxIntDiff?: number;
}

Threshold options for comparing texels of different formats (norm/float/int).

Type declaration

  • Optional maxDiffULPsForFloatFormat?: number

    Threshold in ULPs for float/ufloat texture formats. Overrides maxFractionalDiff.

  • Optional maxDiffULPsForNormFormat?: number

    Threshold in ULPs for unorm/snorm texture formats. Overrides maxFractionalDiff.

  • Optional maxFractionalDiff?: number

    Threshold for non-integer (norm/float) texture formats, if not overridden.

  • Optional maxIntDiff?: number

    Threshold for integer texture formats. Defaults to 0.

Generated using TypeDoc