pulse-on-change(graphics)

xod/graphics/pulse-on-change(graphics)

Emits a pulse every time input value changes.
pulse-on-change(graphics)
@/pulse-on-change(graphics)
Emits a pulse every time input value changes.
INxod/graphics/graphics
pulse-on-change(graphics)
OUT
IN
OUTpulse

C++ implementation

node {
    void evaluate(Context ctx) {
        //Change in at least one of the elements in the graphical tree is a signal that the whole tree has changed.

        if (isInputDirty<input_IN>(ctx))
            emitValue<output_OUT>(ctx, 1);
    }
}