local wb_effect = scene:add_effect(WhiteBalanceEffect.new())
scene:finalize()
--- API ENTRY POINT
--- Returns the number of outputs in addition to the live (0) and preview (1).
--- Called only once, at the start of the program.
-function num_channels()
- return 2
-end
-
-- Set some global state.
+Nageru.set_num_channels(2) -- Can only be called at the start of the program.
Nageru.set_channel_name(2, "First input")
Nageru.set_channel_name(3, "Second input")