Skip to main content

handle_dmx_data

Function handle_dmx_data 

Source
pub(crate) fn handle_dmx_data(
    dmx_receiver: &Receiver<(u8, [u8; 512])>,
    tree: &mut DockState<Tab>,
)
Expand description

Drains incoming DMX universe frame data from the UDP receiver channel and updates the matching Universe panels in the docking tree.

ยงArguments

  • dmx_receiver - Receiver channel producing (universe_id, dmx_data) tuples.
  • tree - Mutable reference to the UI docking tree containing active tabs.