# getPatchLayout

returns the patch-layout for the next update

            void getPatchLayout
            void* instance
            int** out2in

## Description

This function returns the patch-layout for the next update. This is a mapping of all outputs to the inputs. If an output is mapped to an input the engine must ensure that before the `update` the output has the same value as the input. If no mapping is requested for an output there are no guarantees for the value of the output object. It must be called direct before `update`. Every output entry holds the index of the input that should be patched to the output. The array has entries for every output. Every output entry holds the index of the input that should be patched to the output. It the entry is -1 the no patching is requested.