Interface Stencil

A stencil function, reference value, and mask.

interface Stencil {
    "0": TestFunction;
    "1": number;
    "2": number;
}

Properties

0 1 2

Properties

The test function.

"1": number

The reference value for the stencil test.

"2": number

A bitwise mask that is combined with the reference value and the stored stencil value when the test is performed.